From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql(at)j-davis(dot)com, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: new compiler warnings |
Date: | 2011-10-18 20:01:37 |
Message-ID: | 1318968097.850.12.camel@vanquo.pezone.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On tis, 2011-10-18 at 15:43 -0400, Tom Lane wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> > Unfortunately, whether Tom's right or not, we still don't have a
> > solution to the compiler warning.
>
> I don't actually see that warning on my Fedora 15 machine, with
> gcc version 4.6.1 20110908 (Red Hat 4.6.1-9) (GCC)
>
> What are the people who do see it using?
>
> (I do see the -Waddress ones.)
>
> regards, tom lane
>
You get the "unused return value" warnings with -D_FORTIFY_SOURCE=2,
which has been the default on Ubuntu for years, and has been the default
on Debian for a few weeks (if you have the hardening-wrapper package
installed or running under dpkg-buildpackage).
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2011-10-18 20:11:36 | Re: new compiler warnings |
Previous Message | Tom Lane | 2011-10-18 19:43:44 | Re: new compiler warnings |