https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67160
Casey Carter <Casey at Carter dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Casey at Carter dot net --- Comment #4 from Casey Carter <Casey at Carter dot net> --- A quick check with trunk shows that static_assert(true) works as expected with -std=c++11 and -std=c++14, with an appropriate warning when -pedantic is set. There seems to be no reason not to unconditionally advertise the availability of the feature with the feature test macro. Unlike __cplusplus, the SD-6 feature test macros are not standardized so there's no requirement that it be exactly 200410 in C++11/14 mode.