Red Hat Bugzilla – Bug 22908
<sys/cdefs.h> in glibc-devel-2.2-9 cpp warning
Last modified: 2016-11-24 10:23:25 EST
# cpp test.c -o test.lst
In file included from /usr/include/features.h:283,
/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
Yes, this is known issue, was fixed in CVS and as soon as next glibc rpms are
cut, the fix will be there.
Should be fixed in glibc-2.2-12.