[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic ignored -Wundef

2014-07-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431

Manuel López-Ibáñez manu at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ruslan_baratov at yahoo dot com

--- Comment #7 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
*** Bug 61653 has been marked as a duplicate of this bug. ***

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic ignored -Wundef

2013-11-16 Thread rainarchitect at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431

--- Comment #4 from George Galeev rainarchitect at gmail dot com ---
Guys, how to get a look at this bug? I'm tired of reading 100500 warnings from
third-party libraries.

GCC-4.6, GCC-4.7, GCC-4.8, C++11
Gentoo Linux x86-64


[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic ignored -Wundef

2013-11-16 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431

Manuel López-Ibáñez manu at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-16
 CC||manu at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #5 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
The C++ parser lexes (and preprocesses) before handling the pragmas, whereas
the C parser processes the pragmas as it sees them.

We must somehow parse these pragmas *also* in cp/parser.c:631. Maybe one can do
something similar to what we do for cp_parser_initial_pragma, but within the
loop and only handling pragma diagnostic. Surely, it will need some trial and
error to get it right. If any of you wants to give it a try and need some help,
just ask here or in the mailing list.

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic ignored -Wundef

2013-11-16 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431

Manuel López-Ibáñez manu at gcc dot gnu.org changed:

   What|Removed |Added

 CC||scottbaldwin at gmail dot com

--- Comment #6 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
*** Bug 57241 has been marked as a duplicate of this bug. ***

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic ignored -Wundef

2013-07-12 Thread nomegenerico at email dot it
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431

Fabio nomegenerico at email dot it changed:

   What|Removed |Added

 CC||nomegenerico at email dot it

--- Comment #3 from Fabio nomegenerico at email dot it ---
Same BUG in MinGW (version shipped with the Qt5.1 framework)

 gcc --version
gcc (rev2, Built by MinGW-builds project) 4.8.0
Copyright (C) 2013 Free Software Foundation, Inc.


[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic ignored -Wundef

2013-03-02 Thread markus at oberhumer dot com


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



Markus F.X.J. Oberhumer markus at oberhumer dot com changed:



   What|Removed |Added



 CC||markus at oberhumer dot com



--- Comment #2 from Markus F.X.J. Oberhumer markus at oberhumer dot com 
2013-03-03 04:09:42 UTC ---

Still NOT fixed in gcc-4.8-20130210.


[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic ignored -Wundef

2013-02-17 Thread rainarchitect at gmail dot com


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



George Galeev rainarchitect at gmail dot com changed:



   What|Removed |Added



 CC||rainarchitect at gmail dot

   ||com



--- Comment #1 from George Galeev rainarchitect at gmail dot com 2013-02-17 
17:04:16 UTC ---

Same behavior, gcc-4.6.3, Linux gentoo x86-64