Boost logo

Boost :

Subject: [boost] boost [vmd]: configuration issue in Jamfile.v2 for Oracle Solaris Studio compiler
From: Aparna Kumta (aparna.kumta_at_[hidden])
Date: 2015-05-21 17:32:46

I am looking at my test run for vmd in develop branch. under SunOS.

My tests are run with cxxflags="-compat=5 -library=stlport4" as configured in user-config.jam

An example of a test,
The test fails as follows:

  "CC" -std=c++0x -std=c++11 -compat=5 -library=stlport4 -xO4 -mt -erroff=%none -m32 -KPIC -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I".." -c -o "/export/home/sstrunk-tester/boost_regression/boost_sparc-S2_stlport4/results/boost/bin.v2/libs/vmd/test/test_after_identifier_elem.test/sun-stlport4/release/threading-multi/test_after_identifier_elem.o" "../libs/vmd/test/test_after_identifier_elem.cpp"

CC: -compat=5 can not be used with -std
CC: -library=stlport4 cannot be used with -std=c++11

If I compile the test manually without '-std=c++0x -std=c++11', the test compiles OK.

%CC -compat=5 -library=stlport4 -xO4 -mt -erroff=%none -m64 -KPIC -DBOOST_AL0%L_NO_LIB=1 -DNDEBUG -I.. -c -o ./test_after_identifier_elem.o ../libs/vmd/test/test_after_identifier_elem.cpp

It looks like boost_root/libs/vmd/test/Jamfile.v2 needs to be modified for this compiler.
Any ideas on how this can be done?



Boost list run by bdawes at, gregod at, cpdaniel at, john at