Re: [sigc] Re: [Bug 147391] - test_lambda does not compile with SUN Forte 5.5



Make failed.

Martin Schulze wrote:

Thanks! Now, I've added a work-around template that converts array types (T_type[N]) into pointers (T_type*). Please try this one:

http://www.hippogriff.de/libsigc++-2.0.4-test3.tar.gz

Regards,

 Martin


Am 05.08.2004 08:45:25 schrieb(en) Damien Carbery:

/sgnome/tools/sparc-solaris/forte/SOS8/SUNWspro/bin/CC  -I. -I. -I..
-I.. -I..
  -g -c -o test_lambda.o test_lambda.cc
"../sigc++/adaptors/lambda/group.h", line 462: Warning (Anachronism):
Type names
 qualified by template parameters require "typename".
"../sigc++/adaptors/lambda/group.h", line 690:     Where: While
specializing "si
gc::lambda_group3<sigc::T_functor, sigc::T_type1, sigc::T_type2,
sigc::T_type3>"
.
"../sigc++/adaptors/lambda/group.h", line 690:     Where: Specialized
in non-tem
plate code.
"../sigc++/adaptors/lambda/base.h", line 364: Error: Cannot cast from
const char
* to sigc::lambda<const char(&)[2]>.
1 Error(s) and 1 Warning(s) detected.
make[2]: *** [test_lambda.o] Error 1

make output and config.log attached.


----- Original Message -----
From: Martin Schulze <martin-ml hippogriff de>
Date: Wednesday, August 4, 2004 8:05 pm
Subject: Re: [sigc] Re: [Bug 147391] - test_lambda does not compile
with SUN Forte 5.5

> Am 04.08.2004 11:48:11 schrieb(en) Martin Schulze:
> > Hi!
> >
> > So we are one step further. I will look at the new error tonight.
> > Looks like the FORTE needs some template specializations for our
> > reference wrapper.
>
> A template specialization cannot fix this. I have no idea how to
> deal
> with the problem. Let's try to use sig::var("\n") instead of
> sigc::ref
> ("\n") in the test case. I see better chances fixing potential new
> errors in template specializations of the lambda<> template.
>
> I'm currently uploading to:
>
>  http://www.hippogriff.de/libsigc++-2.0.4-test2.tar.gz
>
> Only the file tests/test_lambda.cc changed. Please try to compile
> again!
>
> Regards,
>
>  Martin
>
>
> > Am 04.08.2004 11:27:07 schrieb(en) Damien Carbery:
> >> make failed:
> >> /sgnome/tools/sparc-solaris/forte/SOS8/SUNWspro/bin/CC -g -o
> >> .libs/test_exceptio
> >> n_catch test_exception_catch.o  ../sigc++/.libs/libsigc-2.0.so
> >> -R/usr/local/lib
> >> creating test_exception_catch
> >> source='test_lambda.cc' object='test_lambda.o' libtool=no \
> >> depfile='.deps/test_lambda.Po'
> tmpdepfile='.deps/test_lambda.TPo' \
> >> depmode=none /bin/bash ../depcomp \
> >> /sgnome/tools/sparc-solaris/forte/SOS8/SUNWspro/bin/CC  -I. -I.  -
> I..>> -I.. -I..
> >>   -g -c -o test_lambda.o test_lambda.cc
> >> "../sigc++/adaptors/lambda/group.h", line 462: Warning
> >> (Anachronism):
> >> Type names
> >>  qualified by template parameters require "typename".
> >> "../sigc++/adaptors/lambda/group.h", line 690:     Where: While
> >> specializing "si
> >> gc::lambda_group3<sigc::T_functor, sigc::T_type1, sigc::T_type2,
> >> sigc::T_type3>"
> >> .
> >> "../sigc++/adaptors/lambda/group.h", line 690:     Where:
> >> Specialized
> >> in non-tem
> >> plate code.
> >> "../sigc++/reference_wrapper.h", line 80: Error: Cannot cast  from
> >> const char* to
> >>  sigc::const_reference_wrapper<char[2]>.
> >> 1 Error(s) and 1 Warning(s) detected.
> >> make[2]: *** [test_lambda.o] Error 1
> >> make[2]: Leaving directory `/jds/libsigc/libsigc++-2.0.4/tests'
> >>
> >> I've attached config.log and make output in libsig-aug4.tar.gz.
> Let
> >> me
> >> know if it doesn't work.
> >>
> >> Damien.
> >>
>


--
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

Attachment: libsigc-aug9.tar.gz
Description: GNU Zip compressed data



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