Ticket #6414: boost-exception.patch

File boost-exception.patch, 620 bytes (added by Petr Machata <pmachata@…>, 11 years ago)
  • boost/exception/detail/attribute_noreturn.hpp

    diff -urp boost_1_48_0~/boost/exception/detail/attribute_noreturn.hpp boost_1_48_0/boost/exception/detail/attribute_noreturn.hpp
    old new  
    99#if defined(_MSC_VER)
    1010#define BOOST_ATTRIBUTE_NORETURN __declspec(noreturn)
    1111#elif defined(__GNUC__)
    12 #define BOOST_ATTRIBUTE_NORETURN __attribute__((noreturn))
     12#define BOOST_ATTRIBUTE_NORETURN __attribute__((__noreturn__))
    1313#else
    1414#define BOOST_ATTRIBUTE_NORETURN
    1515#endif