Re: [RFC/PATCH 1/2] Teach Solaris that _XOPEN_SOURCE=600 really menas XPG6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 28, 2009 at 02:40:14PM -0500, Brandon Casey wrote:

> It's not the compiler that prevents compilation.  It's the header files.
> 
> You mentioned that on Solaris 8 there was only a single declaration for
> iconv.  There was not a macro check for _XPG6.  I suspect that Solaris 8
> does not support XPG6, so your compilation is just falling back to XPG4.

OK, that makes sense.

> The same thing happens on Solaris 7.  On Solaris 10, if the macros are
> set such that _XPG6 becomes set, then compilation will fail if the
> compiler is not a c99 one.

Right. What I was trying to say is "gcc 3.1.1 is probably c99 enough,
and I am using it already". That is, if you were asking how painful it
would be to require a c99 compiler for Solaris git, I am saying I don't
personally care.

But I don't know what is "normal".

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]