mirror of
https://github.com/nginx/nginx.git
synced 2026-08-31 09:06:25 +00:00
update gcc warnings
This commit is contained in:
parent
a3041ac931
commit
03c779451c
1 changed files with 2 additions and 1 deletions
|
|
@ -158,9 +158,10 @@ case "$NGX_GCC_VER" in
|
|||
3.* | 4.* )
|
||||
# we have a lot of the unused function arguments
|
||||
CFLAGS="$CFLAGS -Wno-unused-parameter"
|
||||
CFLAGS="$CFLAGS -Wno-unused-function"
|
||||
CFLAGS="$CFLAGS -Wunused-function"
|
||||
CFLAGS="$CFLAGS -Wunused-variable"
|
||||
CFLAGS="$CFLAGS -Wunused-value"
|
||||
# 4.2.1 shows the warning in wrong places
|
||||
#CFLAGS="$CFLAGS -Wunreachable-code"
|
||||
;;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue