http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52785
--- Comment #5 from Sérgio Basto 2012-03-30 02:39:25
UTC ---
(In reply to comment #4)
> strndup is a macro in glibc header files. Use (strndup) to disable the macro
> function.
>
> This is not a GCC bug or a glibc bug (since you supply _GNU_SO
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52785
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52785
--- Comment #3 from Sérgio Basto 2012-03-30 02:13:44
UTC ---
Created attachment 27041
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27041
preprocessed source with -O1
/usr/include/xorg/os.h:496:55: error: expected identifier or ‘(’ before
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52785
--- Comment #2 from Andrew Pinski 2012-03-30
01:47:34 UTC ---
>From reading the other bug reports, they all sound like it is really a bug in
the source and not in GCC.
for the -O1 issue you really to look at the preprocessed source, I bet 100%
t
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52785
--- Comment #1 from Sérgio Basto 2012-03-30 01:41:12
UTC ---
Here is the 3rd issue:
http://lists.x.org/archives/xorg/2012-March/054377.html