build warnings
- From
Michael Wookey <michaelwookey@gmail.com>
- Date
- Jan 29, 2010, 09:03 UTC
- Message-ID
- <d2e97e801001290103r5b9cfc2aq8daec90c8c88f2ff@mail.gmail.com>
FYI,
With current master (dace5dd1), the following build warnings appear on Ubuntu 9.10 (x86):
run-command.c: In function ‘notify_parent’: run-command.c:70: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result run-command.c: In function ‘die_child’: run-command.c:80: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result run-command.c:81: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result run-command.c:82: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
These warnings were introduced by the following commits:
2b541bf8 ("start_command: detect execvp failures early")
a5487ddf ("start_command: report child process setup errors to the
parent's stderr")The GCC details are:
~$ gcc --version gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1