This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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!

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]