A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-May/035564.html below:

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

[Python-Dev] Python 2.3b1 _XOPEN_SOURCE value from configure.in [Python-Dev] Python 2.3b1 _XOPEN_SOURCE value from configure.inMartin v. Löwis martin@v.loewis.de
12 May 2003 23:04:06 +0200
Harri Pasanen <harri.pasanen@trema.com> writes:

> 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?

I'm not aware of this problem specifically, but of the problem in
general. I'd claim that this is a bug in Boost. Python.h should be the
first header file included, before any header file from the
application or the system, so it gets to define the value of
_XOPEN_SOURCE. This is documented in the extensions manual.

Of course, it would be sufficient to set it to a smaller value on
systems that support only older X/Open issues; I think I'd accept a
patch that changes this (if the patch is correct, of course).

Regards,
Martin




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4