Disable -Wsign-conversion for GCC 8

This commit is contained in:
Peter Dimov committed 2022-06-04 02:01:50 +03:00
1 parent db1e23b611
commit 884ce4b708
4 files changed
+31

No files matched your search

+9
View File
@@ -13,6 +13,11 @@
#pragma warning(disable:4245) // signed/unsigned mismatch
#endif
#if defined(__GNUC__) && __GNUC__ == 8
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wsign-conversion"
#endif
namespace HASH_TEST_CAT(CONTAINER_TYPE, _tests)
{
template <class T>
@@ -66,6 +71,10 @@ namespace HASH_TEST_CAT(CONTAINER_TYPE, _tests)
}
}
#if defined(__GNUC__) && __GNUC__ == 8
# pragma GCC diagnostic pop
#endif
#if defined(BOOST_MSVC)
#pragma warning(pop)
#endif