From: Taylor R Campbell Date: Sat, 10 Nov 2018 18:00:00 +0000 (+0000) Subject: Disable -Wunreachable-code for now, too many false positives. X-Git-Tag: mit-scheme-pucked-10.1.2~16^2~112 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=647c122d98c025e9efdc92476e0ba00d3b0b6f75;p=mit-scheme.git Disable -Wunreachable-code for now, too many false positives. --- diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac index 194ccf1b9..29a5d70c3 100644 --- a/src/microcode/configure.ac +++ b/src/microcode/configure.ac @@ -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