Re: new compiler warnings

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: new compiler warnings
Дата
Msg-id 1318968097.850.12.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: new compiler warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: new compiler warnings
Список pgsql-hackers
On tis, 2011-10-18 at 15:43 -0400, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.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).



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: new compiler warnings
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: new compiler warnings