10 Mar
2007
10 Mar
'07
12:35 a.m.
Aaron Tan
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