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 c/52116] pragma GCC diagnostic only acts on some lines


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

--- Comment #2 from Ben Longbons <b.r.longbons at gmail dot com> 2012-02-04 18:30:46 UTC ---
ah, got home where I have a bunch of versions ...

GCC < 4.6 fail with error: #pragma GCC diagnostic not allowed inside functions

GCC 4.6.{0,1,2}, branch-4.6 r183147, and trunk r182496,r182728,r183173 also
fail as described in this report. (Note that I already mentioned Debian GCC
4.6.2-11, GCC trunk r183363)


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