Implied int types

Rod Roark rod at
Sat Oct 7 09:48:18 PDT 2000

In compiling various add-on packages for my LFS system, I have run
across several source files where gcc errors out on this type of

  static <variable-name> = <integer-literal>;

where the proper form is:

  static int <variable-name> = <integer-literal>;

Evidently the first form is accepted by some compilers.  Does anyone
know of a compiler option that will get gcc-2.95.2 to accept it also? 
I'm getting tired of patching all this source code.


-- Rod

Unsubscribe: send email to lfs-discuss-request at
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list