[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] Fix compilation problems associated with -Wunused-result
From: |
Glenn Maynard |
Subject: |
Re: [PATCH 1/3] Fix compilation problems associated with -Wunused-result and -Werror |
Date: |
Mon, 30 May 2011 01:58:34 -0400 |
On Mon, May 30, 2011 at 1:42 AM, Brad Hards <address@hidden> wrote:
> That will turn it off everywhere in the examples, which kind-of defeats the
> purpose of using it in the first place. If you're keen for that kind of
> change,
> then turning off the unused result warning would probably be better.
I don't think it has any purpose, but it certainly doesn't make sense
in code where warnings are expected, such as example code that
intentionally omits error handling. *shrug*
--
Glenn Maynard