aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-08-19 19:17:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-08-19 19:17:40 +0000
commit3cab8bdf4384d3353bec1b5655256d19d75c181d (patch)
tree6e7094ef119aadfa14e83e38acc829ec51eb0041
parent9650830bc82045b32573e52b0843d6a2f56b802a (diff)
downloadpostgresql-3cab8bdf4384d3353bec1b5655256d19d75c181d.tar.gz
postgresql-3cab8bdf4384d3353bec1b5655256d19d75c181d.zip
Remove -Winline from the default set of CFLAGS for gcc. It's gotten much
too noisy to be useful as of gcc 4.3, and we were never really doing anything about inlining warnings anyway.
-rwxr-xr-xconfigure2
-rw-r--r--configure.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index f6815d3b1ce..cde00667b38 100755
--- a/configure
+++ b/configure
@@ -3601,7 +3601,7 @@ fi
# ICC pretends to be GCC but it's lying; it doesn't support these options.
if test "$GCC" = yes -a "$ICC" = no; then
- CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wpointer-arith -Winline"
+ CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wpointer-arith"
# These work in some but not all gcc versions
{ echo "$as_me:$LINENO: checking if $CC supports -Wdeclaration-after-statement" >&5
echo $ECHO_N "checking if $CC supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
diff --git a/configure.in b/configure.in
index 2c73e03db46..6cde15e30cc 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.563 2008/06/27 00:36:16 tgl Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.564 2008/08/19 19:17:40 tgl Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -391,7 +391,7 @@ fi
# ICC pretends to be GCC but it's lying; it doesn't support these options.
if test "$GCC" = yes -a "$ICC" = no; then
- CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wpointer-arith -Winline"
+ CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wpointer-arith"
# These work in some but not all gcc versions
PGAC_PROG_CC_CFLAGS_OPT([-Wdeclaration-after-statement])
PGAC_PROG_CC_CFLAGS_OPT([-Wendif-labels])