
I ran into a problem including boost/integer_traits.hpp (from boost 1.33.0) on an alpha / tru64 system with gcc 3.3.1. The error produced was: boost/integer_traits.hpp:112:2: #error No WCHAR_MIN and WCHAR_MAX present, please adjust integer_traits<> for your compiler. Looking at the file, I see that integer_traits.hpp considers a number of different platform / compiler possibilities, but that alpha / gcc is not on the list. Has anyone else run into this problem? Anyone have any ideas how integer_traits.hpp should handle this configuration? Thaks in advance, --Steve Stephen Gross Case Western School of Medicine Cleveland, OH "By Grabthar's hammer, by the sons of Worvan, you shall be avenged." - Dr. Lazarus

Stephen Gross wrote:
I ran into a problem including boost/integer_traits.hpp (from boost 1.33.0) on an alpha / tru64 system with gcc 3.3.1. The error produced was:
boost/integer_traits.hpp:112:2: #error No WCHAR_MIN and WCHAR_MAX present, please adjust integer_traits<> for your compiler.
Looking at the file, I see that integer_traits.hpp considers a number of different platform / compiler possibilities, but that alpha / gcc is not on the list. Has anyone else run into this problem? Anyone have any ideas how integer_traits.hpp should handle this configuration?
Hmm, I don't know about gcc 3.3.1 but it should work for gcc 3.3.4. I just confirmed that by dropping the following Jamfile to libs/integer and then executing "bjam -sTOOLS=gcc-3.3.4 integer_traits_test". ---%<--- subproject libs/integer ; import testing ; test-suite integer : [ run cstdint_test.cpp ] [ run integer_test.cpp ] [ run integer_traits_test.cpp <lib>../test/build/boost_test_exec_monitor ] ; --->%--- What version of Tru64 are you using? Markus

Stephen Gross wrote:
Hmm, I don't know about gcc 3.3.1 but it should work for gcc 3.3.4. I just confirmed that by dropping the following Jamfile to libs/integer and then executing "bjam -sTOOLS=gcc-3.3.4 integer_traits_test". ... What version of Tru64 are you using?
OSF1...
What does uname -a print? Markus

Stephen Gross wrote:
What does uname -a print?
OSF1 <hostname> V5.1 732 alpha
Ok, you're on Tru64 5.1 then. This is the same version as where the regression runs are done. Could you please post the output of the following command invoked from the boost root directory: "g++ -E -dM -I. libs/integer/integer_traits_test.cpp | grep -v 'BOOST_PP' | sort" This might help to tell the exact difference between gcc 3.3.1 on your system on gcc 3.3.4 on the test system. Oh, and please post the output as an attachement so I don't have to unwrap the lines manually. Thanks, Markus
participants (3)
-
Markus Schöpflin
-
Markus Schöpflin
-
Stephen Gross