clang from XCode 4.5.2 with -std=c++11 -stdlib=libc++ and -arch armv7 ------------------------------------------ Component configuration: - atomic : not building - chrono : building - context : not building - date_time : not building - exception : not building - filesystem : not building - graph : not building - graph_parallel : not building - iostreams : not building - locale : not building - math : not building - mpi : not building - program_options : not building - python : not building - random : not building - regex : not building - serialization : not building - signals : not building - system : not building - test : not building - thread : not building - timer : not building - wave : not building ...patience... ...found 559 targets... ...updating 10 targets... clang-darwin.compile.c++ boost_build/boost/bin.v2/libs/system/build/clang-darwin-4.2.1/release/architecture-arm/link-static/threading-multi/error_code.o clang-darwin.archive boost_build/boost/bin.v2/libs/system/build/clang-darwin-4.2.1/release/architecture-arm/link-static/threading-multi/libboost_system.a common.copy stage/lib/libboost_system.a clang-darwin.compile.c++ boost_build/boost/bin.v2/libs/chrono/build/clang-darwin-4.2.1/release/architecture-arm/link-static/threading-multi/chrono.o In file included from libs/chrono/src/chrono.cpp:14: In file included from ./boost/chrono/detail/inlined/chrono.hpp:13: In file included from ./boost/chrono/chrono.hpp:11: ./boost/chrono/duration.hpp:353:49: error: constexpr function never produces a constant expression static BOOST_CHRONO_LIB_CONSTEXPR float lowest() BOOST_CHRONO_LIB_NOEXCEPT_OR_THROW ^ ./boost/chrono/duration.hpp:355:21: note: non-constexpr function 'max' cannot be used in a constant expression return -(std::numeric_limits::max) (); ^ /usr/bin/../lib/c++/v1/limits:443:43: note: declared here _LIBCPP_INLINE_VISIBILITY static type max() _NOEXCEPT {return __base::max();} ^ In file included from libs/chrono/src/chrono.cpp:14: In file included from ./boost/chrono/detail/inlined/chrono.hpp:13: In file included from ./boost/chrono/chrono.hpp:11: ./boost/chrono/duration.hpp:361:50: error: constexpr function never produces a constant expression static BOOST_CHRONO_LIB_CONSTEXPR double lowest() BOOST_CHRONO_LIB_NOEXCEPT_OR_THROW ^ ./boost/chrono/duration.hpp:363:21: note: non-constexpr function 'max' cannot be used in a constant expression return -(std::numeric_limits::max) (); ^ /usr/bin/../lib/c++/v1/limits:443:43: note: declared here _LIBCPP_INLINE_VISIBILITY static type max() _NOEXCEPT {return __base::max();} ^ In file included from libs/chrono/src/chrono.cpp:14: In file included from ./boost/chrono/detail/inlined/chrono.hpp:13: In file included from ./boost/chrono/chrono.hpp:11: ./boost/chrono/duration.hpp:369:55: error: constexpr function never produces a constant expression static BOOST_CHRONO_LIB_CONSTEXPR long double lowest() BOOST_CHRONO_LIB_NOEXCEPT_OR_THROW ^ ./boost/chrono/duration.hpp:371:21: note: non-constexpr function 'max' cannot be used in a constant expression return -(std::numeric_limits::max)(); ^ /usr/bin/../lib/c++/v1/limits:443:43: note: declared here _LIBCPP_INLINE_VISIBILITY static type max() _NOEXCEPT {return __base::max();} ^ 3 errors generated. "clang++" -x c++ -O3 -O3 -g0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -fvisibility=hidden -std=c++11 -stdlib=libc++ -arch armv7 -arch armv7s -O3 -g0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -fvisibility=hidden -std=c++11 -stdlib=libc++ -arch armv7 -arch armv7s -fvisibility-inlines-hidden -Wextra -Wno-long-long -pedantic -O3 -finline-functions -Wno-inline -Wall -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_All_STATIC_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"." -c -o "boost_build/boost/bin.v2/libs/chrono/build/clang-darwin-4.2.1/release/architecture-arm/link-static/threading-multi/chrono.o" "libs/chrono/src/chrono.cpp" ...failed clang-darwin.compile.c++ boost_build/boost/bin.v2/libs/chrono/build/clang-darwin-4.2.1/release/architecture-arm/link-static/threading-multi/chrono.o... clang-darwin.compile.c++ boost_build/boost/bin.v2/libs/chrono/build/clang-darwin-4.2.1/release/architecture-arm/link-static/threading-multi/thread_clock.o clang-darwin.compile.c++ boost_build/boost/bin.v2/libs/chrono/build/clang-darwin-4.2.1/release/architecture-arm/link-static/threading-multi/process_cpu_clocks.o In file included from libs/chrono/src/process_cpu_clocks.cpp:17: In file included from ./boost/chrono/detail/inlined/process_cpu_clocks.hpp:19: In file included from ./boost/chrono/process_cpu_clocks.hpp:18: ./boost/chrono/duration.hpp:353:49: error: constexpr function never produces a constant expression static BOOST_CHRONO_LIB_CONSTEXPR float lowest() BOOST_CHRONO_LIB_NOEXCEPT_OR_THROW ^ ./boost/chrono/duration.hpp:355:21: note: non-constexpr function 'max' cannot be used in a constant expression return -(std::numeric_limits::max) (); ^ /usr/bin/../lib/c++/v1/limits:443:43: note: declared here _LIBCPP_INLINE_VISIBILITY static type max() _NOEXCEPT {return __base::max();} ^ In file included from libs/chrono/src/process_cpu_clocks.cpp:17: In file included from ./boost/chrono/detail/inlined/process_cpu_clocks.hpp:19: In file included from ./boost/chrono/process_cpu_clocks.hpp:18: ./boost/chrono/duration.hpp:361:50: error: constexpr function never produces a constant expression static BOOST_CHRONO_LIB_CONSTEXPR double lowest() BOOST_CHRONO_LIB_NOEXCEPT_OR_THROW ^ ./boost/chrono/duration.hpp:363:21: note: non-constexpr function 'max' cannot be used in a constant expression return -(std::numeric_limits::max) (); ^ /usr/bin/../lib/c++/v1/limits:443:43: note: declared here _LIBCPP_INLINE_VISIBILITY static type max() _NOEXCEPT {return __base::max();} ^ In file included from libs/chrono/src/process_cpu_clocks.cpp:17: In file included from ./boost/chrono/detail/inlined/process_cpu_clocks.hpp:19: In file included from ./boost/chrono/process_cpu_clocks.hpp:18: ./boost/chrono/duration.hpp:369:55: error: constexpr function never produces a constant expression static BOOST_CHRONO_LIB_CONSTEXPR long double lowest() BOOST_CHRONO_LIB_NOEXCEPT_OR_THROW ^ ./boost/chrono/duration.hpp:371:21: note: non-constexpr function 'max' cannot be used in a constant expression return -(std::numeric_limits::max)(); ^ /usr/bin/../lib/c++/v1/limits:443:43: note: declared here _LIBCPP_INLINE_VISIBILITY static type max() _NOEXCEPT {return __base::max();} ^ 3 errors generated. "clang++" -x c++ -O3 -O3 -g0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -fvisibility=hidden -std=c++11 -stdlib=libc++ -arch armv7 -arch armv7s -O3 -g0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -fvisibility=hidden -std=c++11 -stdlib=libc++ -arch armv7 -arch armv7s -fvisibility-inlines-hidden -Wextra -Wno-long-long -pedantic -O3 -finline-functions -Wno-inline -Wall -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_All_STATIC_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"." -c -o "boost_build/boost/bin.v2/libs/chrono/build/clang-darwin-4.2.1/release/architecture-arm/link-static/threading-multi/process_cpu_clocks.o" "libs/chrono/src/process_cpu_clocks.cpp" ...failed clang-darwin.compile.c++ boost_build/boost/bin.v2/libs/chrono/build/clang-darwin-4.2.1/release/architecture-arm/link-static/threading-multi/process_cpu_clocks.o... ...skipped libboost_chrono.a(clean) for lack of chrono.o... ...skipped libboost_chrono.a for lack of chrono.o... ...skipped libboost_chrono.a for lack of libboost_chrono.a... ...failed updating 2 targets... ...skipped 3 targets... ...updated 5 targets...