From f960d2fb75b27c52fda97b364c08bd4f8d3a37e1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 17 Sep 2023 22:43:00 -0400 Subject: [PATCH] Revert "Don't expect the UDL definition for GCC < 4.9 " This reverts commit 4d654c09e5471bbe398f266067cc9560c2f328be. --- test/compile-error-test/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/compile-error-test/CMakeLists.txt b/test/compile-error-test/CMakeLists.txt index 495f6598..c4a16068 100644 --- a/test/compile-error-test/CMakeLists.txt +++ b/test/compile-error-test/CMakeLists.txt @@ -177,12 +177,6 @@ set(CMAKE_REQUIRED_FLAGS ) if (NOT SUPPORTS_USER_DEFINED_LITERALS) set (SUPPORTS_USER_DEFINED_LITERALS OFF) endif () -if (SUPPORTS_USER_DEFINED_LITERALS AND CMAKE_COMPILER_IS_GNUCXX) - # GCC before 4.9 is not supported for user-defined literals as it requires an - # invalid syntax in their definition. - set (SUPPORTS_USER_DEFINED_LITERALS - $,4.9.0>,OFF,ON> -endif() # Make sure that compiler features detected in the header # match the features detected in CMake.