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


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

"./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/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
"./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.

-DNDEBUG -qcpluscmt -O3 -qstrict -qfuncsect -qeh -qrtti -I"." -o

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

Any help?

Dewald Viljoen

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at