Ticket #7950: details.hpp.diff

File details.hpp.diff, 844 bytes (added by Peter Brockamp <p.brockamp@…>, 10 years ago)

Silence warning C4913 under VS2005

  • details.hpp

     
    1818#include <boost/detail/no_exceptions_support.hpp>
    1919#include <iterator>
    2020
     21// Silence MS /W4 warnings like C4913:
     22// "user defined binary operator ',' exists but no overload could convert all operands, default built-in binary operator ',' used"
     23// This might happen when previously including some boost headers that overload the coma operator.
     24#if defined(_MSC_VER)
     25#  pragma warning(push)
     26#  pragma warning(disable:4913)
     27#endif
     28
    2129namespace boost {
    2230
    2331namespace cb_details {
     
    467475
    468476} // namespace boost
    469477
     478#if defined(_MSC_VER)
     479#  pragma warning(pop)
     480#endif
     481
    470482#endif // #if !defined(BOOST_CIRCULAR_BUFFER_DETAILS_HPP)