45 | | # questionable fix for libstdc++ build failures with boost 1.59 and (indirect) inclusion of boost/thread/detail/move.hpp |
46 | | # libstdc++ supports rvalue references but defining BOOST_NO_CXX11_RVALUE_REFERENCES disables the |
47 | | # inclusion of <type_traits> which is not libstdc++ compatible |
48 | | # |
49 | | # In file included from CDRParser.cpp:20: |
50 | | # In file included from /opt/local/include/boost/spirit/include/classic.hpp:11: |
51 | | # In file included from /opt/local/include/boost/spirit/home/classic.hpp:29: |
52 | | # In file included from /opt/local/include/boost/spirit/home/classic/utility.hpp:37: |
53 | | # In file included from /opt/local/include/boost/spirit/home/classic/utility/scoped_lock.hpp:13: |
54 | | # In file included from /opt/local/include/boost/thread/lock_types.hpp:11: |
55 | | # /opt/local/include/boost/thread/detail/move.hpp:31:10: fatal error: 'type_traits' file not found |
56 | | # #include <type_traits> |
57 | | |
58 | | platform darwin { |
59 | | if {${configure.cxx_stdlib} eq "libstdc++"} { |
60 | | configure.cppflags-append \ |
61 | | -DBOOST_NO_CXX11_RVALUE_REFERENCES |
62 | | } |
63 | | } |
64 | | |