diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 05b4e196..6010e7dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -862,19 +862,19 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/.devel OR EXISTS ${CMAKE_BINARY_DIR}/.devel) # Microsoft's code generator. We currently treat them as if # they might support GCC-style -W options. # + check_and_add_compiler_option(-W) check_and_add_compiler_option(-Wall) - check_and_add_compiler_option(-Wmissing-prototypes) - check_and_add_compiler_option(-Wstrict-prototypes) - check_and_add_compiler_option(-Wwrite-strings) - check_and_add_compiler_option(-Wpointer-arith) + check_and_add_compiler_option(-Wassign-enum) check_and_add_compiler_option(-Wcast-qual) - check_and_add_compiler_option(-Wshadow) check_and_add_compiler_option(-Wdeclaration-after-statement) - check_and_add_compiler_option(-Wpedantic) + check_and_add_compiler_option(-Wmissing-prototypes) check_and_add_compiler_option(-Wold-style-definition) + check_and_add_compiler_option(-Wpedantic) + check_and_add_compiler_option(-Wpointer-arith) + check_and_add_compiler_option(-Wshadow) + check_and_add_compiler_option(-Wstrict-prototypes) check_and_add_compiler_option(-Wused-but-marked-unused) - check_and_add_compiler_option(-W) - check_and_add_compiler_option(-Wassign-enum) + check_and_add_compiler_option(-Wwrite-strings) endif() endif() |