Re: new compiler warnings - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: new compiler warnings
Date
Msg-id 1296080447.14137.4.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: new compiler warnings  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: new compiler warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: new compiler warnings  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On ons, 2011-01-26 at 17:00 -0500, Robert Haas wrote:
> More to the point, regardless of whether the warning is reasonable or
> not, there's tangible value in a warning-free build, which we have had
> on most of the systems I use until recently.

I don't disagree that the warnings are valid.  I'd just like to see them
as well.

It turns out you need -Wformat-security with newer GCC versions.  We
might want to add that to the standard options set.

Anyway: Fixed.




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: new compiler warnings
Next
From: Tom Lane
Date:
Subject: Re: .gitignore patch for coverage builds