Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value.
| От | Magnus Hagander |
|---|---|
| Тема | Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value. |
| Дата | |
| Msg-id | 4925D5EA.7000608@hagander.net обсуждение исходный текст |
| Ответ на | Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value. (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Re: [COMMITTERS] pgsql: Silence compiler warning about
ignored return value.
|
| Список | pgsql-hackers |
Tom Lane wrote: > Magnus Hagander <magnus@hagander.net> writes: >> Tom Lane wrote: >>> We're definitely *not* fortify-clean, although maybe trying to become so >>> would be a good idea. From memory, what I have seen in past builds on >>> Red Hat systems is a lot of warnings about ignoring the return value >>> from fwrite() and related functions. > >> So. Should I revert it? > > I dunno. Was that the only such warning you got on your build? That > would be a bit odd given that I see many more ... Yeah, it happens in more places. I wasn't doing a make clean first, so that was the only one of the files that were built *that time* that gave the warning. I see it in more places now. I think I'll go figure out how to turn fortify off :-) //Magnus
В списке pgsql-hackers по дате отправления: