Boost logo

Boost-Build :

Subject: [Boost-build] Boost::Regex Build failure on AIX 5.3 (VisualAge 6)
From: Dewald Viljoen (dewald.viljoen_at_[hidden])
Date: 2010-09-20 01:34:53


Hi,

I'm having a lot of trouble compiling boost on AIX 5.3 using the
VisualAge 6 compiler. It seems to be failing here:

vacpp.compile.c++
boost_build/boost/bin.v2/libs/regex/build/vacpp/release/threading-multi/cregex.o
"./boost/integer/static_log2.hpp", line 53.49: 1540-1269 (S) The
template argument for the non-type template parameter of type "int"
must be an integral constant expression.
"./boost/integer/static_log2.hpp", line 67.36: 1540-0700 (I) The
previous message was produced while processing "struct
boost::detail::static_log2_impl::choose_initial_n<16>".
"./boost/integer/static_log2.hpp", line 84.49: 1540-0274 (S) The name
lookup for "initial_n" did not find a declaration.
"./boost/integer/static_log2.hpp", line 84.49: 1540-1226 (I)
Declarations for non-dependent names are resolved in the template
definition.
"./boost/integer/static_log2.hpp", line 84.49: 1540-1227 (I)
"initial_n" does not depend on a template argument.
"./boost/integer/static_log2.hpp", line 96.29: 1540-0063 (S) The text
"<" is unexpected.
"./boost/regex/v4/basic_regex.hpp", line 436.13: 1540-1628 (S) Every
template parameter for a constructor template must be used in the
parameter list of the constructor.
"./boost/integer/static_log2.hpp", line 114.18: 1540-0130 (S)
"detail::static_log2_impl::static_log2_impl" is not declared.

    xlC_r -c -DBOOST_ALL_NO_LIB=1 -DBOOST_REGEX_DYN_LINK=1
-DNDEBUG -qcpluscmt -O3 -qstrict -qfuncsect -qeh -qrtti -I"." -o
"boost_build/boost/bin.v2/libs/regex/build/vacpp/release/threading-multi/cregex.o"
"libs/regex/src/../src/cregex.cpp"

I've looked around on the internet for solutions but cannot seem to
find anything conclusive.

Any help?

Thanks,
Dewald Viljoen


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk