[Bug target/40411] -std=c99 does not enable c99 mode in Solaris C library

heydowns at borg dot com gcc-bugzilla@gcc.gnu.org
Sat Jul 4 15:03:00 GMT 2009

------- Comment #10 from heydowns at borg dot com  2009-07-04 15:03 -------
"sol2-6.h doesn't exist anymore in GCC 4.4 and later.  Since the patch won't be
applied to GCC 4.3.x, it must be adjusted.  Why was values-xpg4 only added to
sol2-6.h and not to sol2.h?"

As far as I could tell from the documentation available to me, values-xpg4
didn't exist until Solaris 2.6.  Based on the file names I was thinking
sol2-6.h was for 2.6 and above, where sol2.h had to work for 2.5, etc.

I can adjust it and try it with 4.4, but do we need to be concerned with
Solaris < 2.6?

I will also try to research and adjust for Joseph's questions/comments on
std=gnu* and c++.



More information about the Gcc-bugs mailing list