[Bug c/85995] GCC defines __STDC__ and __STDC_VERSION__ even when used with options that break C conformance

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Fri Jun 1 16:16:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85995

--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
See trouble.texi, "Non-bugs" / "Certain Changes We Don't Want to Make", 
"Undefining @code{__STDC__} when @option{-ansi} is not used." (and the 
description of handling of base standards in invoke.texi).  This is as 
documented since GCC 2.0.


More information about the Gcc-bugs mailing list