Re: Setting -Werror in CFLAGS

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Geoghegan <peter(at)2ndquadrant(dot)com>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Setting -Werror in CFLAGS
Date: 2012-01-18 19:40:29
Message-ID: 1326915629.9180.20.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On ons, 2012-01-04 at 13:44 -0500, Robert Haas wrote:
> I'm not thrilled about that either. Especially since they seem to be
> adding more and more warnings that are harder and harder to work
> around for issues that are less and less important. Unimportant
> warnings that are easily avoidable are not so bad, but...
>
I think the reason they add all these new warnings is that a lot of
software is of poor quality. A lot of software probably doesn't check
any return values, so they need to see those warnings. If the last 3
out of 100 are hard to fix, that might be a small price to pay.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2012-01-18 19:42:45 Re: age(xid) on hot standby
Previous Message Peter Eisentraut 2012-01-18 19:38:12 Re: Setting -Werror in CFLAGS