https://git.reactos.org/?p=reactos.git;a=commitdiff;h=19779b3f96dd2905a09c8…
commit 19779b3f96dd2905a09c827a871f32a9bfb431c6
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Tue Dec 1 20:42:22 2020 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Tue Dec 1 20:42:41 2020 +0100
[CMAKE] Our C code base is C99, so mark it as such.
This fixes 64211aa6964a8ca1627f2ce7244b8270003e6770, which mistakenly declared C11 as
default.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3e60e3fae3e..b91387178d6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@ set(CMAKE_SKIP_PREPROCESSED_SOURCE_RULES TRUE)
set(CMAKE_SKIP_ASSEMBLY_SOURCE_RULES TRUE)
set(CMAKE_COLOR_MAKEFILE OFF)
set(CMAKE_POSITION_INDEPENDENT_CODE OFF)
-set(CMAKE_C_STANDARD 11)
+set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 11)
#set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)