[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is it OK to have compile warnings



Oh yeah, definitely fix it if at all possible ;)


On Wed, Oct 23, 2013 at 10:59 AM, Gert Wollny <gw.fossdev@gmail.com> wrote:
> To directly answer your question, since I think everyone so far has told
> you that you should fix it, this answer from S/O [1]
>
[...]
> [1]
> http://stackoverflow.com/questions/3614691/casting-to-void-doesnt-remove-warn-unused-result-error/3615000#3615000

One should note that the question on S/O was about opening "/dev/null"
which is unlikely to fail.

The "write" that was mentioned in the original post is quite a different
story.

best regards,
Gert




Reply to: