diff options
-rw-r--r-- | CMakeLists.txt | 5 | ||||
-rw-r--r-- | configure.ac | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d597e0efb..44346721fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -258,11 +258,12 @@ else() # -Wcast-align # - # Some code blocks this for now. + # Works only with Clang # -Wunreachable-code # - # Some code blocks this for now. + # Works only with Clang but generates a lot of warnings + # (about glib library not using Doxygen) # -Wdocumentation -fwrapv diff --git a/configure.ac b/configure.ac index 61dacf8180..e95f758ed3 100644 --- a/configure.ac +++ b/configure.ac @@ -815,11 +815,12 @@ AC_ARG_ENABLE(extra-compiler-warnings, # AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wcast-align) # - # Some code blocks this for now. + # Works only with Clang # AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wunreachable-code) # - # Some code blocks this for now. + # Works only with Clang but generates a lot of warnings + # (about glib library not using Doxygen) # AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wdocumentation) fi |