Boost logo

Boost Testing :

Subject: [Boost-testing] Error when compiling BOOST TEST module
From: Xin, Zengfeng (ZXin_at_[hidden])
Date: 2011-01-21 03:11:10


Hi

I was trying to compile BOOST TEST module (1.45.0), my system is:
AIX5.3, compiler is: xlC7.0.
However, I got below error:
========================================================================
========================================================================
=
   xlC_r -c -DBOOST_ALL_NO_LIB=1 -DNDEBUG -qcpluscmt -O3 -qstrict
-qfuncsect -qeh -qrtti -I"." -o
"bin.v2/libs/test/build/vacpp/release/link-static/threading-multi/except
ion_safety.o" "libs/test/src/exception_safety.cpp"

...failed vacpp.compile.c++
bin.v2/libs/test/build/vacpp/release/link-static/threading-multi/excepti
on_safety.o...
vacpp.compile.c++
bin.v2/libs/test/build/vacpp/release/link-static/threading-multi/logged_
expectations.o
"./boost/test/utils/named_params.hpp", line 134.5: 1540-0400 (S)
"boost::nfp::nfp_detail::named_parameter_combine::operator[]" has a
conflicting declaration.
"./boost/test/utils/named_params.hpp", line 133.17: 1540-0425 (I)
"operator[]" is defined on line 133 of
"./boost/test/utils/named_params.hpp".
========================================================================
========================================================================
=

I was trying to use gcc on AIX as well, but I also got compile errors.

Have you ever encountered such error? Is BOOST_1_45_0 not compatible
with xlc7.0? I saw it said that BOOST_1_45_0 had been tested compiling
under xlc10 in the release notes.
Please advise, thanks a lot.

Best regards,
Zengfeng XIN (Kewell)
Derivative Workstation System
State Street Hangzhou
J2/J3 Building, 1, Road 8, Xiyuan
West Lake Science & Technology Economic Park
San Dun, West Lake District
Hangzhou 310030
P.R. China
+ 86 571 28111749
ZXin_at_[hidden] <mailto:name_at_[hidden]>
The information contained in this e-mail and any attachments is
confidential and/or privileged information/communication and intended
solely for the use of the named addressee(s). If you are not an intended
recipient or a p0erson responsible for delivery to an intended
recipient, please notify the author and destroy this e-mail. Any
unauthorized copying, disclosure, retention, or distribution of this
email and the material in this e-mail is strictly forbidden.
Go green. Consider the environment before printing this email.



Boost-testing list run by mbergal at meta-comm.com