Re: Using -Wshadow - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Using -Wshadow
Date
Msg-id Pine.LNX.4.44.0311242150040.21306-100000@peter.localdomain
Whole thread Raw
In response to Re: Using -Wshadow  (Neil Conway <neilc@samurai.com>)
Responses Re: Using -Wshadow  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Neil Conway writes:

> The problem with #2 is the large number of warnings induced by system
> headers: other platforms / standard libraries may well cause
> additional instances of shadowing, so it might take a little while to
> track down all the spurious warnings.

Yes, that's what I'm afraid of.  We might be chasing warnings forever.
I'm not sure what the point is anyway.  Shadowing is perfectly
well-defined and I've never heard of a real problem because of it.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: regexp incompatibilites 7.3 and 7.4
Next
From: david@fetter.org (David Fetter)
Date:
Subject: Re: Updates for RPMS.