Ticket #11380: std_fwd_libc++_gcc.patch

File std_fwd_libc++_gcc.patch, 857 bytes (added by tsniatowski@…, 7 years ago)
  • include/boost/container/detail/std_fwd.hpp

    diff --git a/include/boost/container/detail/std_fwd.hpp b/include/boost/container/detail/std_fwd.hpp
    index a2931c1..73711eb 100644
    a b  
    2323//                        Standard predeclarations
    2424//////////////////////////////////////////////////////////////////////////////
    2525
    26 #if defined(__clang__) && defined(_LIBCPP_VERSION)
     26#if defined(_LIBCPP_VERSION)
    2727   #define BOOST_CONTAINER_CLANG_INLINE_STD_NS
    2828   #pragma GCC diagnostic push
     29#if defined(__clang__)
    2930   #pragma GCC diagnostic ignored "-Wc++11-extensions"
     31#endif
    3032   #define BOOST_CONTAINER_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
    3133   #define BOOST_CONTAINER_STD_NS_END _LIBCPP_END_NAMESPACE_STD
    3234#elif defined(BOOST_GNU_STDLIB) && defined(_GLIBCXX_BEGIN_NAMESPACE_VERSION)  //GCC >= 4.6