[Bug c++/79510] #pragma GCC diagnostic pop/push/ignored doesn't work as expected in template code
p.chevalier at psenterprise dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 17 16:07:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79510
--- Comment #2 from Pierre Chevalier <p.chevalier at psenterprise dot com> ---
(In reply to Martin Sebor from comment #1)
> 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
Silly me :| Thanks Martin!
More information about the Gcc-bugs
mailing list