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

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Thu Jun 10 19:59:31 CEST 2004


--- "Paul F. Kunz" <Paul_Kunz at slac.stanford.edu> wrote:
> >>>>> On Thu, 10 Jun 2004 07:38:12 -0700 (PDT), "Ralf W. Grosse-Kunstleve"
> <rwgk at yahoo.com> said:
> 
> > If you don't want to use -w (I don't know how to tell bjam to insert
> > the -w) you have to analyze how exactly the conflicting definitions
> > of _POSIX_C_SOURCE come about. Maybe we can do something with #ifdef
> > in the right places. However, I doubt it is worth the effort unless
> > you can demonstrate the same problem on a more recent platform with
> > a more recent compiler.
> 
>    I see the same warning with Red Hat Linux 9 and gcc 3.4.0.   Is
> that recent enough?   Also see them when I build boost 1.31.0 with
> bjam.   

Surely recent enough that there is hope that some developer will listen. Now we
need a volunteer to

1. Reduce the problem. I.e. strip down the includes to a minimum. I'd expect
the critial point to be in boost/python/detail/prefix.hpp. See the comment in
there.

2. Potentially follow up on this:

http://sourceforge.net/tracker/?func=detail&aid=663397&group_id=5470&atid=105470

My concerns were brushed away quite rudely and I am not keen to pick this up
again.

Ralf



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




More information about the Cplusplus-sig mailing list