[Spice-devel] Failure to compile spice-gtk: spicy.c:1711:10: error: ignoring return value of ‘write’

Marc-André Lureau mlureau at redhat.com
Mon Dec 10 00:50:46 PST 2012


Hi

----- Mensaje original -----
> CC       spicy-spicy.o
> spicy.c: In function ‘port_data’:
> spicy.c:1711:10: error: ignoring return value of ‘write’, declared
> with
> attribute warn_unused_result [-Werror=unused-result]
> cc1: all warnings being treated as errors

spice-gtk enables a lot of warnings, treat them as error. Here the code is pretty simple and doesn't strictly need error checking..

I don't have this error on f17. What's your distribution? f18? 


More information about the Spice-devel mailing list