[email protected]:
> i am about enable compiler warnings for software we are
> building from source and try to report things upstream
Do not turn on -Wunused-result.
Wietse
>
> debug_process.c:61:11: warning: ignoring return value of 'system', declared
> with attribute warn_unused_result
> [-Wunused-result]
>
> mail_copy.c:283:6: warning: ignoring return value of 'ftruncate', declared
> with attribute warn_unused_result
> [-Wunused-result]
>
> pipe_command.c:487:13: warning: ignoring return value of 'seteuid', declared
> with attribute warn_unused_result
> [-Wunused-result]
>
> master.c:509:7: warning: ignoring return value of 'write', declared with
> attribute warn_unused_result [-Wunused-result]
>
> postscreen.c:651:2: warning: ignoring return value of 'write', declared with
> attribute warn_unused_result
> [-Wunused-result]
>
>