id summary reporter owner description type status milestone component version severity resolution keywords cc 12098 "Tests fail with #error ""Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications..." Aparna Kumta Andrey Semashev "Compiling with Oracle Solaris Studio12.5 several log several tests fail as follows: ""CC"" -std=c++11 -temp=/tmp/bn -xO4 -mt -erroff=%none -m32 -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_DATE_TIME_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_LOG_BUILDING_THE_LIB=1 -DBOOST_LOG_DLL -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_EVENT_LOG -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_DONT_USE_CHRONO=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DDATE_TIME_INLINE -DNDEBUG -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -D__STDC_CONSTANT_MACROS -D__typeof__=__typeof__ -I"".."" -c -o ""/export/home/sstrunk-tester/boost_regression/boost_regression_develop/boost_sparc-S2_cpp11/results/boost/bin.v2/libs/log/build/sun-12.5_cpp11/release/build-no/log-api-unix/threading-multi/once_block.o"" ""../libs/log/src/once_block.cpp"" ""/usr/include/sys/feature_tests.h"", line 359: Error: #error ""Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications ?require the use of c99"". See for example: http://www.boost.org/development/tests/develop/developer/output/oracle-sparc-S2-12-5-cpp11-boost-bin-v2-libs-log-test-attr_attribute_set-test-sun-12-5_cpp11-release-build-no-threading-multi.html The test passes, if '-D_XOPEN_SOURCE=600' is removed from the command line. So, inside libs/log/build/Jamfile.v2 removing the following line causes the compilation to succeed: solaris:_XOPEN_SOURCE=600 Output after removing '-D_XOPEN_SOURCE=600'from the command line. $CC -std=c++11 -xO4 -mt -erroff=%none -m32 -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_DATE_TIME_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_LOG_BUILDING_THE_LIB=1 -DBOOST_LOG_DLL -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_EVENT_LOG -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_DONT_USE_CHRONO=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DDATE_TIME_INLINE -DNDEBUG -D__EXTENSIONS__ -D__STDC_CONSTANT_MACROS -D__typeof__=__typeof__ -I.. -c -o ./once_block.o ../libs/log/src/once_block.cpp $ " Bugs closed To Be Determined log Boost Development Trunk Problem fixed sergey.sprogis.oracle.com