Red Hat Bugzilla – Bug 6849
"gcc -traditional" fails - header files possibly broken?
Last modified: 2008-05-01 11:37:52 EDT
Attempting to compile using "gcc -traditional" gives errors
about header files. Compile this file for example:
If you use "gcc -traditional test.c" you get the following.
(I have tried this on two different machines now.)
In file included from /usr/lib/gcc-lib/i386-redhat-
/usr/include/limits.h:42: undefined or invalid # directive
/usr/include/limits.h:44: undefined or invalid # directive
/usr/include/limits.h:45: undefined or invalid # directive
/usr/include/limits.h:52: undefined or invalid # directive
/usr/include/limits.h:53: undefined or invalid # directive
Works with the egcs in Raw Hide.