Michael Wookey, 2010-01-29:
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