projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ccb1f
)
Add -Wunreachable-code and -Wwrite-strings.
author
Taylor R Campbell
<campbell@mumble.net>
Thu, 8 Nov 2018 16:17:41 +0000
(16:17 +0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Thu, 8 Nov 2018 16:17:41 +0000
(16:17 +0000)
src/microcode/configure.ac
patch
|
blob
|
history
diff --git
a/src/microcode/configure.ac
b/src/microcode/configure.ac
index ea4af189f548823cb41a8b4f4aa837b4a1ab5632..b66ba34f18dca393628c0be865b3b07426319cf8 100644
(file)
--- a/
src/microcode/configure.ac
+++ b/
src/microcode/configure.ac
@@
-229,6
+229,8
@@
if test ${GCC} = yes; then
-Wtype-limits \
-Wundef \
-Wuninitialized \
+ -Wunreachable-code \
+ -Wwrite-strings \
; do
AC_MSG_CHECKING([for compiler warning $flag])
SAVED_CFLAGS="$CFLAGS"
@@
-240,7
+242,7
@@
if test ${GCC} = yes; then
done
# other possibilities:
- # -Wmissing-prototypes
-Wunreachable-code -Wwrite-strings
+ # -Wmissing-prototypes
fi
FOO=`${INSTALL} --help 2> /dev/null | ${FGREP} -e --preserve-timestamps`
if test "x${FOO}" != x; then