[C++-sig] warning: "_POSIX_C_SOURCE" redefined
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Wed Jun 9 21:10:02 CEST 2004
--- Pere Mato Vila <Pere.Mato at cern.ch> wrote:
> My test program to show the problem contains only one line:
>
> #include "boost/python.hpp"
>
> and therefore I can not move it before anything.
Hm. What is your platform? Linux (which), Cygwin?
> > -----Original Message-----
> > From: c++-sig-bounces at python.org
> > [mailto:c++-sig-bounces at python.org] On Behalf Of Ralf W.
> > Grosse-Kunstleve
> > Sent: 08 June 2004 12:26
> > To: Development of Python/C++ integration
> > Subject: Re: [C++-sig] warning: "_POSIX_C_SOURCE" redefined
> >
> >
> > --- 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/
> >
> > _______________________________________________
> > C++-sig mailing list
> > C++-sig at python.org
> > http://mail.python.org/mailman/listinfo/c++-sig
> >
>
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
More information about the Cplusplus-sig
mailing list