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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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? 
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]