forked from boostorg/container_hash
Disable deprecation warning for has_denorm in hash_float_test.hpp
This commit is contained in:
@@ -33,6 +33,11 @@
|
|||||||
#pragma GCC diagnostic ignored "-Wfloat-equal"
|
#pragma GCC diagnostic ignored "-Wfloat-equal"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__clang__)
|
||||||
|
// P2614 deprecates has_denorm in C++23
|
||||||
|
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||||
|
#endif
|
||||||
|
|
||||||
char const* float_type(float*) { return "float"; }
|
char const* float_type(float*) { return "float"; }
|
||||||
char const* float_type(double*) { return "double"; }
|
char const* float_type(double*) { return "double"; }
|
||||||
char const* float_type(long double*) { return "long double"; }
|
char const* float_type(long double*) { return "long double"; }
|
||||||
|
Reference in New Issue
Block a user