From 7f2eb2f33280a44fead28b5416c10b64521f7704 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Mon, 12 Jul 2021 19:51:19 +0200 Subject: [PATCH] Meta: Remove obsolete `-fconcepts` CFLAG The GCC documentation says that since it's officially a part of C++20, this flag does nothing. Clang, however, does complain that it does not recognize it, so it's better to just remove it. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b7b8708e956..e08a3e79674 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,7 +101,7 @@ set(CMAKE_CXX_EXTENSIONS OFF) add_compile_options(-Wno-literal-suffix) if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") - add_compile_options(-fconcepts) + add_compile_options(-Wno-literal-suffix) elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang$") add_compile_options(-Wno-overloaded-virtual -Wno-user-defined-literals) endif()