Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] run-command.c: fix build warnings on Ubuntu

From: Markus Heidelberg <hidden>
Date: 2016-06-15 22:48:08

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help