Benjamin Peterson <benja...@python.org> wrote: > > 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.
Do you mean (void)write(...)? Many people think this is good practice, since it indicates to the reader that the return value is deliberately ignored. Stefan Krah _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com