Maybe you could test Kjell's patch so that you don't need to patch
libsigc++ locally:
https://bugzilla.gnome.org/show_bug.cgi?id=695235#c5
Murray
--
On Mon, 2013-06-10 at 06:59 -0400, Paul Davis wrote:
> We have used sigc++ with objective C for many years, but always have
> to apply the following patch to our build of sigc++ before using it:
>
> --- ../include/sigc++-2.0/sigc++/functors/functor_trait.h~
> +++ ../include/sigc++-2.0/sigc++/functors/functor_trait.h
> @@ -23,8 +23,9 @@
> Â #ifndef _SIGC_FUNCTORS_MACROS_FUNCTOR_TRAITHM4_
> Â #define _SIGC_FUNCTORS_MACROS_FUNCTOR_TRAITHM4_
> Â #include <sigc++/type_traits.h>
> -
> -
> +#ifdef nil
> +#undef nil
> +#endif
> Â namespace sigc {
>
> Â /** nil struct type.
>
>
>
> On Mon, Jun 10, 2013 at 3:28 AM, Kjell Ahlstedt
> <kjell ahlstedt bredband net> wrote:
> Â Â Â Â I was told that there is a problem with libsigc++, if you want
> Â Â Â Â to use it in an Objective-C++ program: libsigc++ defines nil,
> Â Â Â Â which is a keyword in Objective-C++.
> Â Â Â Â I filed bug https://bugzilla.gnome.org/show_bug.cgi?id=695235
> Â Â Â Â to try to cope with this problem, but the person who told me
> Â Â Â Â about the problem seems to have lost interest in the matter.
>
> Â Â Â Â If you're interested in using libsigc++ in an Objective-C++
> Â Â Â Â program, and want to help test my proposed solution, please
> Â Â Â Â see the bug report, and add a comment there or in
> Â Â Â Â libsigc-list.
>
>
>
> Â Â Â Â _______________________________________________
> Â Â Â Â libsigc-list mailing list
> Â Â Â Â libsigc-list gnome org
> Â Â Â Â https://mail.gnome.org/mailman/listinfo/libsigc-list
>
>
>
> _______________________________________________
> libsigc-list mailing list
> libsigc-list gnome org
> https://mail.gnome.org/mailman/listinfo/libsigc-list
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com