This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79510] #pragma GCC diagnostic pop/push/ignored doesn't work as expected in template code
- From: "p.chevalier at psenterprise dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Feb 2017 16:07:19 +0000
- Subject: [Bug c++/79510] #pragma GCC diagnostic pop/push/ignored doesn't work as expected in template code
- Auto-submitted: auto-generated
- References: <bug-79510-4@http.gcc.gnu.org/bugzilla/>
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!