Boost logo

Boost :

Subject: [boost] [config] recent change to suffix.hpp causing several failures for Oracle Developer Studio 12.5
From: Aparna Kumta (aparna.kumta_at_[hidden])
Date: 2016-09-08 14:17:10


A recent change to suffix.hpp seems to cause several tests to fail when
compiling with Oracle Developer Studio12.5.

The error is:
  "CC" -std=c++11 -xO4 -mt -erroff=%none -m32 -DBOOST_ALL_NO_LIB=1
-DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED
-DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1
-DBOOST_TIMER_STATIC_LINK=1 -DNDEBUG -D__typeof__=__typeof__ -I".." -c
-o ./count.o" "../libs/accumulators/test/count.cpp"

"../boost/config/suffix.hpp", line 628: Error: Badly formed constant
expression.
<snipped>

See:
http://www.boost.org/development/tests/develop/developer/output/oracle-sparc-S2-12-5-cpp11-boost-bin-v2-libs-accumulators-test-count-test-sun-12-5_cpp11-release-link-static-threading-multi.html

% diff ./suffix.hpp ./suffix.hpp_orig
626a627,630
> # elif defined(__has_cpp_attribute)
> # if __has_cpp_attribute(noreturn)
> # define BOOST_NORETURN [[noreturn]]
> # endif
%

Thanks,

Aparna


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk