From: Igor Sysoev Date: Fri, 24 Apr 2009 15:31:13 +0000 (+0000) Subject: update gcc warnings X-Git-Tag: release-0.7.53~9 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=03c779451ca796655062115771af14f120ea9b93;p=nginx.git update gcc warnings --- diff --git a/auto/cc/gcc b/auto/cc/gcc index 8ac76fb98..8e5422e08 100644 --- a/auto/cc/gcc +++ b/auto/cc/gcc @@ -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" ;;