diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2024-02-28 19:08:41 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-03-09 00:42:27 +0000 |
commit | 806e209df541114f79033651271ef62d80bb69f5 (patch) | |
tree | 8eb8ee98a521fde4da2c10c5fad4031f9e6b884d /auto | |
parent | 9cd11133f9eaf4f31f7d1c477613d12c22774b09 (diff) | |
download | unit-806e209df541114f79033651271ef62d80bb69f5.tar.gz unit-806e209df541114f79033651271ef62d80bb69f5.tar.bz2 |
Remove -W from compiler flags
This is what -Wextra used to be called, but any version of GCC or Clang
in at least the last decade has -Wextra.
Cc: Dan Callahan <d.callahan@f5.com>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'auto')
-rw-r--r-- | auto/cc/test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/cc/test b/auto/cc/test index dbaa7124..fdb84760 100644 --- a/auto/cc/test +++ b/auto/cc/test @@ -70,7 +70,7 @@ case $NXT_CC_NAME in NXT_CFLAGS="$NXT_CFLAGS -O" #NXT_CFLAGS="$NXT_CFLAGS -O0" - NXT_CFLAGS="$NXT_CFLAGS -W -Wall -Wextra" + NXT_CFLAGS="$NXT_CFLAGS -Wall -Wextra" #NXT_CFLAGS="$NXT_CFLAGS -Wunused-result" NXT_CFLAGS="$NXT_CFLAGS -Wno-unused-parameter" @@ -107,7 +107,7 @@ case $NXT_CC_NAME in NXT_CFLAGS="$NXT_CFLAGS -O" #NXT_CFLAGS="$NXT_CFLAGS -O0" - NXT_CFLAGS="$NXT_CFLAGS -W -Wall -Wextra" + NXT_CFLAGS="$NXT_CFLAGS -Wall -Wextra" #NXT_CFLAGS="$NXT_CFLAGS -Wunused-result" NXT_CFLAGS="$NXT_CFLAGS -Wno-unused-parameter" |