Re: [sigc] libsigc++ 1.9.13 fails on Solaris 9 sparc
- From: Damien Carbery <Damien Carbery Sun COM>
- To: Murray Cumming <murrayc murrayc com>
- Cc: Martin Schulze <martin-ml hippogriff de>, libsigc++ list <libsigc-list gnome org>
- Subject: Re: [sigc] libsigc++ 1.9.13 fails on Solaris 9 sparc
- Date: Mon, 29 Mar 2004 10:12:08 +0100
I made changes to sigc++/functors/slot.h: 122 and rebuilt test_slot.cc
> On that line (slot.h: 122) could you please try
> a) replacing "LIBSIGC_TEMPLATE_PREFIX" there with "template"
Same errors (A class template name ...)
> b) removing LIBSIGC_TEMPLATE_PREFIX
I removed '.LIBSIGC_TEMPLATE_PREFIX' (note that '.' removed) and got errors:
"../sigc++/functors/slot.h", line 122: Error: operator () is not defined.
"../sigc++/functors/slot.h", line 122: Error: Unexpected type name
"sigc::type_trait<int>::take" encountered.
"../sigc++/functors/slot.h", line 122: Error: Badly formed expression.
"../sigc++/functors/slot.h", line 122: Error: operator () is not defined.
"../sigc++/functors/slot.h", line 122: Error: Unexpected type name
"sigc::type_trait<char>::take" encountered.
"../sigc++/functors/slot.h", line 122: Error: Badly formed expression.
"../sigc++/functors/slot.h", line 122: Error: operator () is not defined.
"../sigc++/functors/slot.h", line 122: Error: Unexpected type name
"sigc::type_trait<std::string &>::take" encountered.
"../sigc++/functors/slot.h", line 122: Error: Badly formed expression.
9 Error(s) detected.
make: *** [test_slot.o] Error 9
Murray Cumming wrote:
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.
--
Damien Carbery
Desktop Release Engineer
Sun Microsystems
Email: damien carbery sun com
Ph: +353 1 819-9218
Ext: x 19218
Dublin Bus and Irish Rail timetables for your Palm:
http://bussched.sourceforge.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]