http://bugs.winehq.org/show_bug.cgi?id=18162
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2009-05-23 05:56:26 --- Created an attachment (id=21257) --> (http://bugs.winehq.org/attachment.cgi?id=21257) Patch to test return values
Does this help?
BTW, is it a gcc flags warning (I'm not very familiar with it) or something NetBSD specific?