help-gsasl
[Top][All Lists]
Advanced

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

Re: [PATCH 1/3] Fix compilation problems associated with -Wunused-result


From: Simon Josefsson
Subject: Re: [PATCH 1/3] Fix compilation problems associated with -Wunused-result and -Werror
Date: Mon, 06 Jun 2011 21:31:45 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Glenn Maynard <address@hidden> writes:

> 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*

I agree.  Brad, you should not get -Werror unless you run ./configure
--enable-gcc-warnings.  Would dropping that parameter work for you?

The patch for files in non-examples/ should be applied though, I'll take
a look.

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]