This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/52785] Compile with -O fails in gcc 4.7


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52785

--- Comment #3 from SÃrgio Basto <sergio at serjux dot com> 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
â__extension__â

line 496 is:
extern _X_EXPORT char * strndup(const char *str, size_t n);

we have just 3 strndup in teste.i

don't see anything wrong


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]