Re: [PATCH] run-command.c: fix build warnings on Ubuntu
- From
Markus Heidelberg <markus.heidelberg@web.de>
- Date
- Jan 30, 2010, 16:43 UTC
- Message-ID
- <201001301743.27439.markus.heidelberg@web.de>
- In-Reply-To
- <d2e97e801001291438k21a652cakb05ec34fc8bee227@mail.gmail.com>
Michael Wookey, 2010-01-29:
Show 10 quoted lines
> Building git on Ubuntu 9.10 warns that the return value of write(2) > isn't checked. > > GCC details: > > $ gcc --version > gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1 > > Silence the warnings by reading (but not making use of) the return value > of write(2).
Since a few weeks I get several warnings about fwrite(), currently 28 times this: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4
Not sure if it should be muted, that are really many places.
Markus