Am 07.11.2013 19:01, schrieb Gilles Chanteperdrix:
On 11/07/2013 10:22 AM, Gernot Hillier wrote:
Some glibc versions mark write() with attribute warn_unused_result (found in
Ubuntu 12.04 / eglibc 2.15 / gcc 4.6.3), so we need to silence this warning,
especially when building with -Werror.

Why not casting write result to void, it does not work?


No, it doesn't. For rationale, please see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509.

--
Gernot


_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to