Bug 6849 - "gcc -traditional" fails - header files possibly broken?
"gcc -traditional" fails - header files possibly broken?
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
5.2
i386 Linux
high Severity high
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-11-09 06:23 EST by Andrew Wiseman
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-02-05 14:19:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrew Wiseman 1999-11-09 06:23:17 EST
Attempting to compile using "gcc -traditional" gives errors
about header files. Compile this file for example:

#include <limits.h>

main()
{
}

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-
linux/2.7.2.3/include/limits.
h:112,
                 from /usr/lib/gcc-lib/i386-redhat-
linux/2.7.2.3/include/syslimi
ts.h:7,
                 from /usr/lib/gcc-lib/i386-redhat-
linux/2.7.2.3/include/limits.
h:11,
                 from test.c:2:
/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
Comment 1 Bill Nottingham 2000-02-05 14:19:59 EST
Works with the egcs in Raw Hide.

Note You need to log in before you can comment on or make changes to this bug.