From 8ba3f68561224c0b6b2ac34822ef45ab7895821d Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Thu, 11 Jan 2024 15:53:52 +0000 Subject: [PATCH] Stop enforcing C99 in CMakeLists.txt This allows us to sometimes use C11 features. Signed-off-by: David Horstmann --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 36baa3b40..210cc38f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -177,9 +177,6 @@ string(REGEX MATCH "Clang" CMAKE_COMPILER_IS_CLANG "${CMAKE_C_COMPILER_ID}") include(CheckCCompilerFlag) -set(CMAKE_C_EXTENSIONS OFF) -set(CMAKE_C_STANDARD 99) - if(CMAKE_COMPILER_IS_GNU) # some warnings we want are not available with old GCC versions # note: starting with CMake 2.8 we could use CMAKE_C_COMPILER_VERSION