summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CompilerChecks.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/CompilerChecks.cmake b/CompilerChecks.cmake
index b326807..e39cc1d 100644
--- a/CompilerChecks.cmake
+++ b/CompilerChecks.cmake
@@ -31,8 +31,6 @@ if (UNIX)
add_c_compiler_flag("-Werror-implicit-function-declaration" SUPPORTED_COMPILER_FLAGS)
add_c_compiler_flag("-Wpointer-arith" SUPPORTED_COMPILER_FLAGS)
add_c_compiler_flag("-Werror=pointer-arith" SUPPORTED_COMPILER_FLAGS)
- add_c_compiler_flag("-Wdeclaration-after-statement" SUPPORTED_COMPILER_FLAGS)
- add_c_compiler_flag("-Werror=declaration-after-statement" SUPPORTED_COMPILER_FLAGS)
add_c_compiler_flag("-Wreturn-type" SUPPORTED_COMPILER_FLAGS)
add_c_compiler_flag("-Werror=return-type" SUPPORTED_COMPILER_FLAGS)
add_c_compiler_flag("-Wuninitialized" SUPPORTED_COMPILER_FLAGS)