2012/1/21 Antoine Pitrou <[email protected]>:
> On Sat, 21 Jan 2012 21:51:43 +0100
> gregory.p.smith <[email protected]> wrote:
>> http://hg.python.org/cpython/rev/d01fecadf3ea
>> changeset:   74561:d01fecadf3ea
>> branch:      3.2
>> parent:      74558:03e61104f7a2
>> user:        Gregory P. Smith <[email protected]>
>> date:        Sat Jan 21 12:31:25 2012 -0800
>> summary:
>>   Avoid the compiler warning about the unused return value.
>
> Can't that give you another warning about the ssize_t being truncated to
> int?
> How about the following instead?
>
>    (void) write(...);

Also, if you use a recent enough version of gcc, ./configure will
disable the warning. I would prefer if stop using these kinds of
hacks.


-- 
Regards,
Benjamin
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to