1_31_0_rc2 python2.3 warning (nit)

Any use of 1_31_0_rc2 with python2.3 gives: /usr/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/limits.h:26, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/include/limits.h:122, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/include/limits.h:11, from /usr/local/src/boost_1_31_0_rc2/boost/python/detail/wrap_python.hpp:27, from /usr/local/src/boost_1_31_0_rc2/boost/python/detail/prefix.hpp:13, from /usr/local/src/boost_1_31_0_rc2/boost/python/class.hpp:9, from /usr/local/src/boost_1_31_0_rc2/boost/python/suite/indexing/indexing_suite.hpp:10, from /usr/local/src/boost_1_31_0_rc2/boost/python/suite/indexing/vector_indexing_suite.hpp:10, from Test.cc:1:

--- "Neal D. Becker" <nbecker@hns.com> wrote:
/usr/local/src/boost_1_31_0_rc2/boost/python/suite/indexing/vector_indexing_suite.hpp:10,
from Test.cc:1:
In Test.cc (which I assume is your file, not one in the boost tree), make sure that a boost/python header is included before any other include file. This restriction is due to a Python requirement. When I complained about this a year ago MvL brushed me away quite rudely; i.e. it is something we have to live with. Ralf __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
participants (2)
-
Neal D. Becker
-
Ralf W. Grosse-Kunstleve