[Bug preprocessor/79346] -Wundef should not warn for standard macros

2019-06-27 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79346 --- Comment #3 from Eric Gallager --- (In reply to Eric Gallager from comment #2) > Confirmed, although it's pretty easy to work around, just write: > > #if defined(__STDC_VERSION__) && __STDC_VERSION__ < 199901L > #endif > > instead. Ah, upon

[Bug preprocessor/79346] -Wundef should not warn for standard macros

2017-09-28 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79346 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug preprocessor/79346] -Wundef should not warn for standard macros

2017-02-03 Thread david at westcontrol dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79346 --- Comment #1 from David Brown --- Some more white-list suggestions for C++ : __STDCPP_DEFAULT_NEW_ALIGNMENT__ __STDCPP_STRICT_POINTER_SAFETY__ __STDCPP_THREADS__ C++14 also has "Whether __STDC__ is predefined and if so, what its value is, ar