Move -Wlogical-op to list of standard compiler flags for c-only.
authorJörg Mayer <jmayer@loplof.de>
Sat, 1 Jun 2013 00:13:25 +0000 (00:13 -0000)
committerJörg Mayer <jmayer@loplof.de>
Sat, 1 Jun 2013 00:13:25 +0000 (00:13 -0000)
svn path=/trunk/; revision=49668

CMakeLists.txt

index b87fccf358f4871890fc3f5114aaf07c15c1f78f..70a4cf319130606a693617b37f07ab1a6e3efda1 100644 (file)
@@ -135,6 +135,7 @@ set(WIRESHARK_C_ONLY_FLAGS
        # The following are C only, not C++
        -Wc++-compat
        -Wdeclaration-after-statement
+       -Wlogical-op
        -Wno-pointer-sign
        -Wold-style-definition
        -Wshadow
@@ -143,7 +144,6 @@ set(WIRESHARK_C_ONLY_FLAGS
 set(WIRESHARK_EXTRA_C_FLAGS
        -pedantic
        -Woverflow
-       -Wlogical-op
        -Wno-overlength-strings
        -fstrict-overflow -Wstrict-overflow=4
        -Wunreachable-code