Re: [sigc] [PATCH] Fix for warnings when -W -Wall is used
- From: Murray Cumming <murrayc murrayc com>
- To: Andris Pavenis <pavenis latnet lv>
- Cc: libsigc++ list <libsigc-list gnome org>
- Subject: Re: [sigc] [PATCH] Fix for warnings when -W -Wall is used
- Date: Mon, 13 Jun 2005 09:44:08 +0200
On Mon, 2005-06-13 at 09:44 +0300, Andris Pavenis wrote:
> Use of GCC command line options '-W -Wall' causes warnings from
> libsigc++ header files about unused parameters (for
> operator()) in several places when recent GCC versions
> like gcc-4.0.0 is being used.
>
> This is a small nuisance in one uses -W -Wall -Werror to get rid
> of warnings.
>
> Included patch (against libsigc++-2.0.13) fixes this problem (at least
> all such warnings, which I have encountered).
>
> Andris
>
> 2005-06-11 Andris Pavenis <pavenis latnet lv>
>
> *sigc++/adaptors/lambda/macros/base.h.m4:
> *sigc++/adaptors/lambda/macros/select.h.m4
> * sigc++/adaptors/macros/hide.h.m4: Specify only a type (not a
> parameter name) for unused member function parameters
Great. Thanks. Applied. I'm surprised that we haven't seen this already.
Please try to put patches in bugzilla in future.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]