mirror of
https://github.com/boostorg/core.git
synced 2025-05-09 23:03:54 +00:00
Disable -Wsign-conversion in lightweight_test.hpp for GCC 6/7
This commit is contained in:
parent
fd01cf788c
commit
8b31acf9a4
@ -153,6 +153,7 @@ inline void no_throw_failed_impl(const char* expr, const char* what, const char*
|
|||||||
#elif defined(__GNUC__) && !(defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 406
|
#elif defined(__GNUC__) && !(defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 406
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
# pragma GCC diagnostic ignored "-Wsign-compare"
|
# pragma GCC diagnostic ignored "-Wsign-compare"
|
||||||
|
# pragma GCC diagnostic ignored "-Wsign-conversion"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// specialize test output for char pointers to avoid printing as cstring
|
// specialize test output for char pointers to avoid printing as cstring
|
||||||
|
Loading…
x
Reference in New Issue
Block a user