[C++-sig] warning: "_POSIX_C_SOURCE" redefined

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Tue Jun 8 12:25:41 CEST 2004


--- Pere Mato Vila <Pere.Mato at cern.ch> wrote:
> I am having the following compilation warnings when including
> "boost/python.hpp". I am using Boost 1.31.0 Python 2.3.3 and gcc 3.2. Is
> anything I am doing wrong?

Due to a Python requirement the boost/python.hpp header has to be included
before any system header. Please move the python.hpp include to the very top of
your file. Let us know if it doesn't help.
Ralf



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 




More information about the Cplusplus-sig mailing list