Disable -Wunreachable-code for now, too many false positives.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 10 Nov 2018 18:00:00 +0000 (18:00 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 10 Nov 2018 18:00:02 +0000 (18:00 +0000)
src/microcode/configure.ac

index 194ccf1b9abcedf64c8f52917d8e7d76e7becde6..29a5d70c327c3d2cfa78b01c508fad1acb0e3439 100644 (file)
@@ -234,7 +234,6 @@ if test x"${GCC}" = xyes; then
        -Wtype-limits \
        -Wundef \
        -Wuninitialized \
-       -Wunreachable-code \
        -Wwrite-strings \
        \
        -Wno-error=stringop-truncation \
@@ -253,6 +252,7 @@ if test x"${GCC}" = xyes; then
     # -Wmissing-prototypes (requires prototypes for DEFINE_PRIMITIVE)
     # -Wstringop-truncation (requires it to not whine about correct use
     #  of strncpy for buffers that are _not_ null-terminated)
+    # -Wunreachable-code (too many false positives in clang)
 fi
 FOO=`${INSTALL} --help 2> /dev/null | ${FGREP} -e --preserve-timestamps`
 if test "x${FOO}" != x; then