select_stdlib_config.hpp patch breaks gcc 2.96 build (Redhat 7.3)

The select_stdlib_config.hpp patch below from 10/15/2005 breaks our Redhat 7.3 build of Boost.Python. An example error message is also shown below. Could this be fixed with BOOST_NO_LIMITS guards or something similar? Thanks! Cheers, Ralf % cvs -q diff -r1.11 -r1.12 select_stdlib_config.hpp Index: select_stdlib_config.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/config/select_stdlib_config.hpp,v retrieving revision 1.11 retrieving revision 1.12 diff -r1.11 -r1.12 15c15 < // library is in use, use <iosfwd> as it's about the smallest ---
// library is in use, use <iosfwd> and <limits> as they're about the smallest 18a19,22 // PLEASE NOTE that the config system must not include any of the headers // that are modified by TR1 (<memory>, <functional> or <utility>) not even // indirectly. If they do so then the Boost TR1 implementation will be unusable. // 20a25 #include <limits>
In file included from /net/taipan/scratch1/rwgk/auto_build/sources/boost/boost/config.hpp:40, from /net/taipan/scratch1/rwgk/auto_build/sources/boost/boost/python/detail/config.hpp:15, from /net/taipan/scratch1/rwgk/auto_build/sources/boost/boost/python/detail/prefix.hpp:14, from /net/taipan/scratch1/rwgk/auto_build/sources/boost/boost/python/handle.hpp:8, from /net/taipan/scratch1/rwgk/auto_build/sources/boost/boost/python/converter/arg_to_python_base.hpp:7, from /net/taipan/scratch1/rwgk/auto_build/sources/boost/libs/python/src/converter/arg_to_python_base.cpp:6: /net/taipan/scratch1/rwgk/auto_build/sources/boost/boost/config/select_stdlib_config.hpp:25:18: limits: No such file or directory __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/

The select_stdlib_config.hpp patch below from 10/15/2005 breaks our Redhat 7.3 build of Boost.Python. An example error message is also shown below. Could this be fixed with BOOST_NO_LIMITS guards or something similar?
I know, I've just reverted those changes, and will think again, see http://lists.boost.org/Archives/boost/2005/10/95530.php Thanks for the heads up anyway, John.
participants (2)
-
John Maddock
-
Ralf W. Grosse-Kunstleve