1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Remove -Wlogical-op from standard compiler flags

It creates too many warnings with GCC 4.3 and 4.4.
This commit is contained in:
Peter Eisentraut
2012-11-23 16:24:24 -05:00
parent c50b8a4637
commit bc5430aa95
2 changed files with 0 additions and 61 deletions

View File

@ -410,7 +410,6 @@ if test "$GCC" = yes -a "$ICC" = no; then
# These work in some but not all gcc versions
PGAC_PROG_CC_CFLAGS_OPT([-Wdeclaration-after-statement])
PGAC_PROG_CC_CFLAGS_OPT([-Wendif-labels])
PGAC_PROG_CC_CFLAGS_OPT([-Wlogical-op])
PGAC_PROG_CC_CFLAGS_OPT([-Wmissing-format-attribute])
# This was included in -Wall/-Wformat in older GCC versions
PGAC_PROG_CC_CFLAGS_OPT([-Wformat-security])