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

Paul F. Kunz Paul_Kunz at slac.stanford.edu
Thu Jun 10 17:46:04 CEST 2004


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





More information about the Cplusplus-sig mailing list