Ticket #54176: patch-libcpp-everywhere.diff
File patch-libcpp-everywhere.diff, 2.1 KB (added by RJVB (René Bertin), 7 years ago) |
---|
-
boost/container/
old new 1661 1661 1662 1662 #ifndef BOOST_CONTAINER_DOXYGEN_INVOKED 1663 1663 1664 #if defined(_ _clang__) && defined(_LIBCPP_VERSION)1664 #if defined(_LIBCPP_VERSION) 1665 1665 #define BOOST_CONTAINER_CLANG_INLINE_STD_NS 1666 1666 #pragma GCC diagnostic push 1667 1667 #pragma GCC diagnostic ignored "-Wc++11-extensions" -
boost/asio/detail/
old new 71 71 #endif // defined(BOOST_ASIO_MSVC) 72 72 73 73 // Clang / libc++ detection. 74 #if defined(__clang__)74 // #if defined(__clang__) 75 75 # if (__cplusplus >= 201103) 76 76 # if __has_include(<__config>) 77 77 # include <__config> … … 80 80 # endif // defined(_LIBCPP_VERSION) 81 81 # endif // __has_include(<__config>) 82 82 # endif // (__cplusplus >= 201103) 83 #endif // defined(__clang__)83 // #endif // defined(__clang__) 84 84 85 85 // Support move construction and assignment on compilers known to allow it. 86 86 #if !defined(BOOST_ASIO_HAS_MOVE) -
iterator_traits.hpp
old new 24 24 25 25 #include <cstddef> 26 26 27 #if defined(_ _clang__) && defined(_LIBCPP_VERSION)27 #if defined(_LIBCPP_VERSION) 28 28 #define BOOST_MOVE_CLANG_INLINE_STD_NS 29 #pragma GCC diagnostic push 30 #pragma GCC diagnostic ignored "-Wc++11-extensions" 29 #if defined(__clang__) 30 #pragma GCC diagnostic push 31 #pragma GCC diagnostic ignored "-Wc++11-extensions" 32 #endif 31 33 #define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD 32 34 #define BOOST_MOVE_STD_NS_END _LIBCPP_END_NAMESPACE_STD 33 35 #else -
libs/program_options/src/
old new 6 6 7 7 #include <boost/config.hpp> 8 8 9 #if defined(_LIBCPP_VERSION) && !defined(__clang__) 10 #include <set> 11 #endif 12 9 13 #define BOOST_PROGRAM_OPTIONS_SOURCE 10 14 #include <boost/program_options/config.hpp> 11 15 #include <boost/program_options/parsers.hpp>