Re: Can anyone help : ERROR 296
From: Dennis Handly (dhandly_at_convex.hp.com)
Date: 09/23/05
- Next message: Matti Kurkela: "Re: telnet commands for hp laserjet"
- Previous message: David J Dachtera: "Re: HP will have to give back 1.25 M EUR help that it got to createjobs."
- In reply to: ramesh.sarda_at_gmail.com: "Can anyone help : ERROR 296"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Sep 2005 22:20:31 -0600
In article <1127376984.885301.315410@z14g2000cwz.googlegroups.com> you wrote:
: Error 298: "test.c", line 6 # In ANSI C bitfields must be one of 'int',
: 'signed int', or 'unsigned int' type.
: u_char field1 :4;
What compiler version (-V) are you using?
I can't get that error unless +We298 is used.
Only obsolete A.03.30 and A.03.31 will give that error by default.
And the Release Notes for aC++ A.03.30 state:
o Early Support for ANSI C compiler
Not all features are enabled in this release. The following is a
list of current limitations. Some code that is a warning in C is
a fatal error in aC++.
(Unfortunately Error 298 wasn't listed.)
In other words, if you are on PA, you should be using cc for the ANSI C
compiler, not aCC -Ae.
On IPF, it doesn't much matter since they are the same.
- Next message: Matti Kurkela: "Re: telnet commands for hp laserjet"
- Previous message: David J Dachtera: "Re: HP will have to give back 1.25 M EUR help that it got to createjobs."
- In reply to: ramesh.sarda_at_gmail.com: "Can anyone help : ERROR 296"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|