From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Warnings from fwrite() in git head |
Date: | 2012-10-08 16:15:22 |
Message-ID: | CAMkU=1xwJFTR53oP9ZnFNJ-_DoYgKSFpHeUwHMfY8fdmXQ5E4A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Oct 8, 2012 at 8:58 AM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> I am seeing the following warnings in git head from zic.c:
>
> zic.c:1505: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
...
>
> Seems casting to void is not enough. Not sure why the error just
> started appearing for me last week. I don't see any recent gcc updates.
> This is gcc version 4.4.5-8 on Debian Squeeze.
I think it was the addition of _FORTIFY_SOURCE
I get the warnings in zic.c, but also I was also getting them in a
different file. But now I only see zic ones in newest HEAD.
Cheers,
Jeff
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2012-10-08 16:21:48 | Re: why can't plpgsql return a row-expression? |
Previous Message | Tom Lane | 2012-10-08 16:12:54 | Re: Warnings from fwrite() in git head |