1
0
forked from boostorg/core

#pragma GCC diagnostic push requires g++ 4.6

This commit is contained in:
Peter Dimov
2021-11-01 04:04:52 +02:00
parent 9f2cdfa7d2
commit bdd4bf7d9a

View File

@ -49,7 +49,7 @@ template<> struct sv_to_uchar<char>
typedef unsigned char type;
};
#if defined(__GNUC__)
#if defined(__GNUC__) && __GNUC__ * 100 + __GNUC_MINOR__ >= 406
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wtype-limits"
#endif
@ -320,7 +320,7 @@ template<class Ch> BOOST_CXX14_CONSTEXPR std::size_t find_last_not_of( Ch const*
return npos;
}
#if defined(__GNUC__)
#if defined(__GNUC__) && __GNUC__ * 100 + __GNUC_MINOR__ >= 406
# pragma GCC diagnostic pop
#endif