Re: Using -Wshadow - Mailing list pgsql-hackers

From Kurt Roeckx
Subject Re: Using -Wshadow
Date
Msg-id 20031124174717.GA4456@ping.be
Whole thread Raw
In response to Using -Wshadow  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
On Mon, Nov 24, 2003 at 12:25:32PM -0500, Neil Conway wrote:
> If there are any other GCC warning flags anyone else feels would be
> useful, let me know.

I find the following also useful:
-Wcast-align
-Wcast-qual
-Wpointer-arith
-Wstrict-prototypes

And maybe:
-Waggregate-return


Kurt



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Using -Wshadow
Next
From: Tom Lane
Date:
Subject: Re: regexp incompatibilites 7.3 and 7.4