I already patch sigc++ for use on OS X, and with limited time it is
unlikely that I'll be able to test a functionally identical patch. It
certainly would be nice to see it in a release version, though.


On Fri, Jul 26, 2013 at 7:14 AM, Murray Cumming <murr...@murrayc.com> wrote:

> 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.ahlst...@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
> murr...@murrayc.com
> www.murrayc.com
> www.openismus.com
>
>
_______________________________________________
libsigc-list mailing list
libsigc-list@gnome.org
https://mail.gnome.org/mailman/listinfo/libsigc-list

Reply via email to