mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 04:47:24 +02:00
#pragma GCC diagnostic push requires g++ 4.6
This commit is contained in:
@ -49,7 +49,7 @@ template<> struct sv_to_uchar<char>
|
|||||||
typedef unsigned char type;
|
typedef unsigned char type;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__) && __GNUC__ * 100 + __GNUC_MINOR__ >= 406
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
# pragma GCC diagnostic ignored "-Wtype-limits"
|
# pragma GCC diagnostic ignored "-Wtype-limits"
|
||||||
#endif
|
#endif
|
||||||
@ -320,7 +320,7 @@ template<class Ch> BOOST_CXX14_CONSTEXPR std::size_t find_last_not_of( Ch const*
|
|||||||
return npos;
|
return npos;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__) && __GNUC__ * 100 + __GNUC_MINOR__ >= 406
|
||||||
# pragma GCC diagnostic pop
|
# pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user