From 4540c80adea9905aa5e9b98ea6e8710bdd2a2373 Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Thu, 13 Sep 2018 19:08:53 +0200 Subject: [PATCH] an explict '-Wdeclaration-after-statement' defeats the ifdef-c99 detection adding the '___' blocks --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ef572f..9a0ba45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,7 @@ if(UNIX) -Wpointer-arith -Wsign-compare -Wmissing-declarations - -Wdeclaration-after-statement + # -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wstrict-aliasing -Warray-bounds -- 2.40.0