pgsql: When using GCC, change the default CFLAGS to: -O2 -Wall

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: When using GCC, change the default CFLAGS to: -O2 -Wall
Date: 2004-10-20 02:12:07
Message-ID: 20041020021207.A6B5032AEE2@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
When using GCC, change the default CFLAGS to:

-O2 -Wall -Wmissing-prototypes -Wpointer-arith

Check whether the version of GCC we are using supports any of:

-Wdeclaration-after-statement
-Wendif-labels
-Wold-style-definition

And add the supported flags to CFLAGS.

Modified Files:
--------------
pgsql:
configure (r1.402 -> r1.403)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.diff?r1=1.402&r2=1.403)
configure.in (r1.381 -> r1.382)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.in.diff?r1=1.381&r2=1.382)
pgsql/config:
c-compiler.m4 (r1.12 -> r1.13)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/config/c-compiler.m4.diff?r1=1.12&r2=1.13)
pgsql/src:
Makefile.global.in (r1.203 -> r1.204)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/Makefile.global.in.diff?r1=1.203&r2=1.204)

Browse pgsql-committers by date

  From Date Subject
Next Message User Dpage 2004-10-20 11:31:24 pginstaller - pginst: Add untsearch2.sql
Previous Message Tom Lane 2004-10-19 15:04:18 pgsql: Add a HINT about the likely reason for 'invalid multibyte