Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 6849

Summary: "gcc -traditional" fails - header files possibly broken?
Product: [Retired] Red Hat Linux Reporter: Andrew Wiseman <a.wiseman>
Component: gccAssignee: David Lawrence <dkl>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-05 19:19:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Wiseman 1999-11-09 11:23:17 UTC
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 19:19:59 UTC
Works with the egcs in Raw Hide.