Mercurial > hg > nginx
diff auto/cc/gcc @ 2751:3b9b67bc0cdc
update gcc warnings
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 24 Apr 2009 15:31:13 +0000 |
parents | d1792e17a559 |
children | b57a4a704f3c fe084c435dc3 |
line wrap: on
line diff
--- a/auto/cc/gcc Fri Apr 24 14:45:52 2009 +0000 +++ b/auto/cc/gcc Fri Apr 24 15:31:13 2009 +0000 @@ -158,9 +158,10 @@ 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" ;;