mirror of
https://github.com/curl/curl.git
synced 2026-04-15 04:01:41 +03:00
configure: set -Wextra-semi-stmt for clang with --enable-debug
To have it properly complain on empty statements with no effect. Ref: #6376 Closes #6378
This commit is contained in:
parent
b9746575a9
commit
26e46617b9
1 changed files with 1 additions and 0 deletions
|
|
@ -948,6 +948,7 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
|
|||
dnl clang 7 or later
|
||||
if test "$compiler_num" -ge "700"; then
|
||||
CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [assign-enum])
|
||||
CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [extra-semi-stmt])
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue