Boost logo

Boost :

Subject: Re: [boost] boost [vmd]: configuration issue in Jamfile.v2 for Oracle Solaris Studio compiler
From: Aparna Kumta (aparna.kumta_at_[hidden])
Date: 2015-05-25 19:42:27

On 05/21/15 21:46, Edward Diener wrote:
> On 5/21/2015 5:32 PM, Aparna Kumta wrote:
>> 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?
> I have updated the jam file in the 'develop' version. When you try
> again, after pulling the latest vmd from 'develop', there may still be
> a problem for SunOS but at least I will be able to tell what is
> causing it.
The results on develop now fail with

"CC" -std=c++0x -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_array_elem.test/sun-stlport4/release/threading-multi/test_after_array_elem.o" "../libs/vmd/test/test_after_array_elem.cpp"

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

For Oracle Solaris Studio C++ compiler, -std=c++0x is equivalent to




> _______________________________________________
> Unsubscribe & other changes:

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