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  
    16611661
    16621662#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
    16631663
    1664 #if defined(__clang__) && defined(_LIBCPP_VERSION)
     1664#if defined(_LIBCPP_VERSION)
    16651665   #define BOOST_CONTAINER_CLANG_INLINE_STD_NS
    16661666   #pragma GCC diagnostic push
    16671667   #pragma GCC diagnostic ignored "-Wc++11-extensions"
  • boost/asio/detail/

    old new  
    7171#endif // defined(BOOST_ASIO_MSVC)
    7272
    7373// Clang / libc++ detection.
    74 #if defined(__clang__)
     74// #if defined(__clang__)
    7575# if (__cplusplus >= 201103)
    7676#  if __has_include(<__config>)
    7777#   include <__config>
     
    8080#   endif // defined(_LIBCPP_VERSION)
    8181#  endif // __has_include(<__config>)
    8282# endif // (__cplusplus >= 201103)
    83 #endif // defined(__clang__)
     83// #endif // defined(__clang__)
    8484
    8585// Support move construction and assignment on compilers known to allow it.
    8686#if !defined(BOOST_ASIO_HAS_MOVE)
  • iterator_traits.hpp

    old new  
    2424
    2525#include <cstddef>
    2626
    27 #if defined(__clang__) && defined(_LIBCPP_VERSION)
     27#if defined(_LIBCPP_VERSION)
    2828   #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
    3133   #define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
    3234   #define BOOST_MOVE_STD_NS_END _LIBCPP_END_NAMESPACE_STD
    3335#else
  • libs/program_options/src/

    old new  
    66
    77#include <boost/config.hpp>
    88
     9#if defined(_LIBCPP_VERSION) && !defined(__clang__)
     10#include <set>
     11#endif
     12
    913#define BOOST_PROGRAM_OPTIONS_SOURCE
    1014#include <boost/program_options/config.hpp>
    1115#include <boost/program_options/parsers.hpp>