[Python-Dev] use of #pragma GCC system_header to suppress _XOPEN_SOURCE warnings

Nick Bastin nbastin at opnet.com
Fri Aug 6 07:01:46 CEST 2004


On Aug 5, 2004, at 6:41 PM, Martin v. Löwis wrote:

> Skip Montanaro wrote:
>> The platform is Solaris/Intel (2.8 and/or 2.9).  I'll have to get you 
>> more
>> complete details tomorrow.  The involved folks are gone for the day.
>
> Ok. I'll get back to a Solaris machine next week, so I can investigate
> somewhat myself.
>
> Of course, the rule is, strictly speaking, "no warnings on the major
> platforms"; I'm uncertain whether Solaris still applies here. It is
> clearly not feasible to have Python compile with no warning no matter
> what the compiler or operating system is. The major platforms, of
> course, are Windows, Linux, OS X (i.e. the ones we provide binaries
> for).

I've been trying to keep the solaris build warning-free for the last 
few months, although I've been using SunPro and not GCC.  I would like 
to believe that Solaris is a 'major platform' (sparc, at least), but 
maybe I'm misguided.. :-)

--
Nick


More information about the Python-Dev mailing list