Wireshark-dev: Re: [Wireshark-dev] wireshark svn build is broken due to : warnings being treate
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 10 Jun 2011 10:17:49 -0700
On Jun 10, 2011, at 3:54 AM, Toralf Förster wrote:

> Happens since few days now :
> 
> ...
> cc1: warnings being treated as errors
> iax2_analysis.c: In function ‘iax2_packet_save_payload’:
> iax2_analysis.c:715: error: ignoring return value of ‘fwrite’, declared with 
> attribute warn_unused_result
> make[2]: *** [libui_a-iax2_analysis.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> mv -f .deps/libui_a-hostlist_table.Tpo .deps/libui_a-hostlist_table.Po
> make[2]: Leaving directory `/home/tfoerste/devel/wireshark/gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/tfoerste/devel/wireshark'
> make: *** [all] Error 2

It should be fixed now as of r37648; I've added checks for write errors and short writes.