[Bug c++/57025] Solaris g++ defines __STDC_VERSION__=199901L

alan.coopersmith at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 9 18:50:00 GMT 2019


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

Alan Coopersmith <alan.coopersmith at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alan.coopersmith at oracle dot com
                   |                            |,
                   |                            |ro at CeBiTec dot Uni-Bielefeld.DE

--- Comment #7 from Alan Coopersmith <alan.coopersmith at oracle dot com> ---
This seems to go back to:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=a6905708d86d6c2d8560168ac5accb816a2038c8
and was probably to deal with the bit of the Solaris system headers in
various releases that throws an error if you try to define _XOPEN_SOURCE
to 600 or 700 and didn't have a __STDC_VERSION__ matching C99 defined.


More information about the Gcc-bugs mailing list