[Bug c++/79510] #pragma GCC diagnostic pop/push/ignored doesn't work as expected in template code

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 17 00:45:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79510

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
GCC doesn't define a __gcc__ macro.  In C++ mode it defines __GNUC__ and
__GNUG__:

https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html


More information about the Gcc-bugs mailing list