diff options
| author | Peter Eisentraut | 2012-11-16 05:35:06 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2012-11-16 05:35:06 +0000 |
| commit | 67c03c6f3ca3726fd99488b497432dea21ab8e2a (patch) | |
| tree | df814aca8cfb85016145e54781dcb89ba6be103c /configure.in | |
| parent | 1746ba92565d130c3b5c6fc285ac57f00cf6bf75 (diff) | |
Add -Wlogical-op to standard compiler flags, if supported
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 2dee4b392b..e691b1d0bf 100644 --- a/configure.in +++ b/configure.in @@ -410,6 +410,7 @@ 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]) |
