https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78539
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >Without that, I have to resort to using two cases: one for __STRICT_ANSI__ and one without I think you still need two. The reason is __noextension__ will turn off extensions even with -pedantic. Otherwise it does not make sense.