Bug 22908 - <sys/cdefs.h> in glibc-devel-2.2-9 cpp warning
<sys/cdefs.h> in glibc-devel-2.2-9 cpp warning
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
7.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Aaron Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-12-27 19:03 EST by Itai Nahshon
Modified: 2016-11-24 10:23 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-12-28 04:43:58 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 Itai Nahshon 2000-12-27 19:03:29 EST
# cpp test.c -o test.lst
In file included from /usr/include/features.h:283,
                 from /usr/include/stdio.h:27,
                 from test.c:1:
/usr/include/sys/cdefs.h:104:27: warning: garbage at end of #ifdef


The offending line is:
#  ifdef __STDC_VERSION__ && __STDC_VERSION__ >= 199901L

(??? should that be changed to
  # if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
}
Comment 1 Jakub Jelinek 2000-12-28 04:43:54 EST
Yes, this is known issue, was fixed in CVS and as soon as next glibc rpms are
cut, the fix will be there.
Comment 2 Jakub Jelinek 2001-01-11 17:58:41 EST
Should be fixed in glibc-2.2-12.

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