Boost logo

Boost Users :

From: bryane (ewbank_at_[hidden])
Date: 2007-03-09 19:35:51


Aaron Tan <aarontw <at> yahoo.com> writes:

> Does anyone know how to use boost libraries with VisualAge C++ 6 on AIX 5.2L?

We are using the xlC compiler for v6, and I had to make one change in the
boost_1_33_1 version of config/compiler/vacpp.hpp.

I was getting the classic error message from the xlC linker caused by
undefined class-level static variables:
ld: 0711-317 ERROR: Undefined symbol: boost::details::pool::ct_lcm<8,8>::value

I ended up setting the configuration switch
BOOST_NO_INCLASS_MEMBER_INITIALIZATION for v6.0, and am now getting a clean
build on AIX.

Hope this helps,
- Bryan


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net