[Python-Dev] Python 2.3b1 _XOPEN_SOURCE value from configure.in

Harri Pasanen harri.pasanen@trema.com
2003年5月12日 18:13:36 +0200


Seems that Python 2.3b1 hardcodes the value of XOPEN_SOURCE to 600 on 
Solaris.
In configure in:
if test $define_xopen_source = yes
then
 AC_DEFINE(_XOPEN_SOURCE, 600, 
 Define to the level of X/Open that your system supports)
Now the correct value for Solaris 2.7 in our case is 500, which is 
defined in the system headers, and boost config picks up the correct 
value.
So when compiling boost-python, there are zillion warning messages 
about redefinition of _XOPEN_SOURCE.
Is this a problem people are aware of, and is someone fixing it as I 
write, or is a volunteer needed?
-Harri

AltStyle によって変換されたページ (->オリジナル) /