Re: [RFC/PATCH 1/2] Teach Solaris that _XOPEN_SOURCE=600 really menas XPG6
- From
Jeff King <peff@peff.net>
- Date
- May 28, 2009, 19:19 UTC
- Message-ID
- <20090528191940.GG13499@coredump.intra.peff.net>
- In-Reply-To
- <WLNdjYtfqcg2bT6yOBtAykIqOBTeSLRUdlB6-sTM2KzTjwOmzN3fLg@cipher.nrlssc.navy.mil>
On Thu, May 28, 2009 at 11:46:50AM -0500, Brandon Casey wrote:
Show 7 quoted lines
> So we either require compiling with a c99 compiler (by ensuring that > _XPG6 is set) or exclude compiling with a c99 compiler on sun (by > ensuring that _XPG6 is not set). Actually, this would only affect Solaris > versions which support XPG6. Solaris 11 and 10 do. I don't know about > Solaris 9 and 8. Solaris 7 doesn't. > > Which do we want to do?
FWIW, I didn't even try using sun's cc. I have been doing all of my builds using gcc 3.1.1 (from around 2002, which is what happens to be available on the old-ish Solaris install at my university).
-Peff