[Type Traits] AIX 5.1/vacpp6: is_enum fails to compile (Was: documentation on performing regression tests ?)

Vincent Jamart writes:
When I lauch the tests on AIX 5.1 (vacpp6) with: python ./regression.py --runner=FFT-vacpp_6 --toolset=vacpp
I then have these messages that I'm investigating the cause:
[...]
# Building "process_jam_log" (/home/qa/cvsboost/boost/tools/build/jam_src/bin.aix/bjam "-sBOOST_BUILD_PATH=/home/qa/cvsboost:/home/qa/cvsboost/boost/tools/build/v1" "-sBOOST_ROOT=/home/qa/cvsboost/boost" "-sTOOLS=vacpp")... "/home/qa/cvsboost/boost/boost/type_traits/is_enum.hpp", line 95.33: 1540-0063 (S) The text "<" is unexpected. "/home/qa/cvsboost/boost/boost/type_traits/is_enum.hpp", line 147.41: 1540-0700 (I) The previous message was produced while processing "struct boost::detail::is_enum_helper<0>::type<const std::basic_string<char,std::char_traits<char>,std::allocator<char> > >". "/home/qa/cvsboost/boost/boost/type_traits/is_enum.hpp", line 160.40: 1540-1269 (S) The template argument for the non-type template parameter of type "bool" must be an integral constant expression.
John, do you have any ideas what's up here? -- Aleksey Gurtovoy MetaCommunications Engineering

John, do you have any ideas what's up here?
Not really. However there was one change to is_enum since the last release (http://cvs.sourceforge.net/viewcvs.py/boost/boost/boost/type_traits/is_enum.hpp?r1=1.12&r2=1.13) and does affect the code that produces the error. So you could try reverting the code and see if that fixes things for vacpp. Failing that, the standard advice is to build the regression test helper programs with gcc, irrespective of what compiler you're going to test on the actual test run. HTH, John.
participants (2)
-
Aleksey Gurtovoy
-
John Maddock