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: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Feb 2017 00:44:56 +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
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