Re: [sigc] libsigc++ 1.9.13 fails on Solaris 9 sparc



On Fri, 2004-03-26 at 18:29, Damien Carbery wrote:
> Failures.
> New log attached.
> 
> I only used the tarball, not the patch attached to the mail.

Thanks. The patch had already been applied to the tarball, so no
patching was necessary.

It seems like we've got quite far.

So, the error now is
"

CC  -I. -I. -I.. -I.. -I..  -DG_HAVE_ISO_VARARGS -DG_IMPLEMENT_INLINES
-I/opt/gnome-2.4/include  -g -c -o test_slot.o `test -f 'test_slot.cc'
|| echo './'`test_slot.cc
"../sigc++/functors/slot.h", line 122: Error: A class template name was
expected instead of operator.
"../sigc++/functors/slot.h", line 122: Error: Unexpected type name
"sigc::type_trait<int>::take" encountered.
"
which is the return line here:

"
static
T_return call_it(slot_rep* rep, typename type_trait<T_arg1>::take a_1)
    {
      typedef typed_slot_rep<T_functor> typed_slot;
      typed_slot *typed_rep = static_cast<typed_slot*>(rep);
      return (typed_rep->functor_).LIBSIGC_TEMPLATE_PREFIX
SIGC_WORKAROUND_OPERATOR_PARENTHESES<typename type_trait<T_arg1>::take>
               (a_1);
    }
"

On that line (slot.h: 122) could you please try 
a) replacing "LIBSIGC_TEMPLATE_PREFIX" there with "template"
and/or
b) removing LIBSIGC_TEMPLATE_PREFIX

If only I had access to CC 5.5 myself.

-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




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