<br><br><div class="gmail_quote">On Mon, Nov 23, 2009 at 9:34 AM, Karl Wiberg <span dir="ltr"><<a href="mailto:kha@treskal.com">kha@treskal.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, Nov 23, 2009 at 7:20 AM, Dirk-Jan C. Binnema<br>
<<a href="mailto:djcb.bulk@gmail.com">djcb.bulk@gmail.com</a>> wrote:<br>
<br>
> + ssize_t ignored;<br>
> static char msg[] = "Stopping... \n";<br>
> - write(2, msg, sizeof(msg)-1);<br>
> +<br>
> + ignored = write(2, msg, sizeof(msg)-1);<br>
> interrupted = 1;<br>
> }<br>
<br>
</div>Didn't the "(void)" suggestion work?<br>
<font color="#888888"></font><br></blockquote></div><br>I actually preferred that solution, but unfortunately, it didn't stop gcc from complaining...<br><br>Best wishes,<br>Dirk.<br>