From 67a2d708dc4b29da8ae0bf039e25081e87c8d55a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 11 Oct 2023 10:33:07 +0200 Subject: cmake: kill -Wfloat-equal It crashes clang 16. --- test/magnum-math.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'test') diff --git a/test/magnum-math.cpp b/test/magnum-math.cpp index d9dc7bb6..a9b7e98d 100644 --- a/test/magnum-math.cpp +++ b/test/magnum-math.cpp @@ -6,11 +6,6 @@ #include #include -#ifdef __GNUG__ -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wfloat-equal" -#endif - namespace floormat { using Magnum::Math::Vector; @@ -68,7 +63,3 @@ void test_app::test_magnum_math() } } // namespace floormat - -#ifdef __GNUG__ -# pragma GCC diagnostic pop -#endif -- cgit v1.2.3