Skip to content
Snippets Groups Projects
Commit aae521d0 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

gcc 3.4 now uses the -Wunreachable-code option, I believe we can make older

ones use this too...
parent 78e6508e
No related branches found
No related tags found
No related merge requests found
......@@ -697,6 +697,11 @@ AC_DEFUN([CURL_CC_DEBUG_OPTS],
WARN="$WARN -Wendif-labels -Wstrict-prototypes"
fi
if test "$gccnum" -ge "304"; then
# try -Wunreachable-code on gcc 3.4
WARN="$WARN -Wunreachable-code"
fi
for flag in $CPPFLAGS; do
case "$flag" in
-I*)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment