Re: [sigc] libsigc++ 1.9.13 fails on Solaris 9 sparc
- From: Damien Carbery <Damien Carbery Sun COM>
- To: Martin Schulze <martin-ml hippogriff de>
- Cc: Murray Cumming <murrayc murrayc com>, libsigc-list gnome org
- Subject: Re: [sigc] libsigc++ 1.9.13 fails on Solaris 9 sparc
- Date: Thu, 04 Mar 2004 16:22:25 +0000
Apologies for not doing this build earlier in the week. Busy.
I updated tests/test_mem_fun.cc and tests/test_ptr_fun.cc and rebuilt
(make clean; make).
Log is attached.
The build machine is to be rebuilt as Solaris 10 so, if you need S9
builds it will be considerably more difficult for me to make them.
Damien.
Martin Schulze wrote:
Am 2004.02.28 00:52 schrieb(en) Damien Carbery:
Replaced test_functor_trait.cc. Compilation seemed to get by that
file.
Failed in test_mem_fun.c though.
I'm attaching new versions of test_mem_fun.cc and test_ptr_fun.cc
that should compile. Is there a macro that we can use to test
whether we are using the FORTE?
It seams that we spotted a compiler feature that is currently not
supported by the FORTE: it cannot deduce which method overload to
use when forming a function pointer with specialized template
parameter types. That means:
struct test {
void foo(char);
void foo(float);
}
sigc::slot<void,char> = sigc::mem_fun1<char>(&test::foo);
won't work with the FORTE because it cannot deduce which overload
of method foo it should use. Maybe this is even a compiler bug.
Meanwhile, we can only remove this feature from the test cases.
The problem might arise with other test cases as well because
working with overloaded functions and methods is tested quite
extensively. However, I don't think there is anything we can do
on the API side to help the FORTE here.
Regards,
Martin
------------------------------------------------------------------------
// -*- c++ -*-
/* Copyright 2002, The libsigc++ Development Team
* Assigned to public domain. Use as you wish without restriction.
*/
#include <sigc++/functors/mem_fun.h>
#include <iostream>
struct test
{
void foo(short i1)
{std::cout << "const test::foo(short "<< i1<< ')' <<std::endl; }
void foo_const(int i1) const
{std::cout << "const test::foo(int "<< i1<< ')' <<std::endl; }
void foo_volatile(float i1) volatile
{std::cout << "const test::foo(float "<< i1<< ')' <<std::endl; }
void foo_const_volatile(double i1) const volatile
{std::cout << "const test::foo(double "<< i1<< ')' <<std::endl; }
void foo_overloaded(char i1)
{std::cout << "const test::foo(char "<< (int)i1<< ')' <<std::endl; }
/* TODO: put something like #ifndef FORTE ... #endif around:
void foo_overloaded(short i1)
{std::cout << "const test::foo(char "<< (int)i1<< ')' <<std::endl; } */
double foo_overloaded(int i1,int i2)
{std::cout << "test::foo("<<i1<<','<<i2<< ')' <<std::endl; return 1.0;}
};
int main()
{
{ /* test non-const */
test t;
sigc::mem_fun(&test::foo)(t,1); // on reference
sigc::mem_fun(&test::foo)(&t,1); // on pointer
}
{ /* test const */
test t;
sigc::mem_fun(&test::foo_const)(t,2);
sigc::mem_fun(&test::foo_const)(&t,2);
}
{ /* test const with const object */
const test t=test();
sigc::mem_fun(&test::foo_const)(t,3);
sigc::mem_fun(&test::foo_const)(&t,3);
}
{ /* test non-const volatile */
test t;
sigc::mem_fun(&test::foo_volatile)(t,4); // on reference
sigc::mem_fun(&test::foo_volatile)(&t,4); // on pointer
}
{ /* test const volatile */
test t;
sigc::mem_fun(&test::foo_const_volatile)(t,5); // on reference
sigc::mem_fun(&test::foo_const_volatile)(&t,5); // on pointer
}
{ /* test const volatile with const object */
const test t=test();
sigc::mem_fun(&test::foo_const_volatile)(t,6); // on reference
sigc::mem_fun(&test::foo_const_volatile)(&t,6); // on pointer
}
{ /* test overloaded */
test t;
/* TODO: put something like #ifndef FORTE ... #else ... #endif around:
sigc::mem_fun1<char>(&test::foo_overloaded)(&t,7);
sigc::mem_fun1<short>(&test::foo_overloaded)(&t,7); and: */
sigc::mem_fun1(&test::foo_overloaded)(&t,7);
sigc::mem_fun2(&test::foo_overloaded)(&t,7,8);
}
{ /* test bound */
test t;
sigc::mem_fun(t,&test::foo)(9);
sigc::mem_fun(&t,&test::foo)(9);
sigc::mem_fun(t,&test::foo_const)(9);
sigc::mem_fun(&t,&test::foo_const)(9);
sigc::mem_fun(t,&test::foo_volatile)(9);
sigc::mem_fun(&t,&test::foo_volatile)(9);
sigc::mem_fun2(t,&test::foo_overloaded)(9,10);
sigc::mem_fun2(&t,&test::foo_overloaded)(9,10);
}
}
------------------------------------------------------------------------
// -*- c++ -*-
/* Copyright 2002, The libsigc++ Development Team
* Assigned to public domain. Use as you wish without restriction.
*/
#include <iostream>
#include <sigc++/functors/ptr_fun.h>
int foo()
{std::cout << "foo()" << std::endl; return 1;}
void foo(int i1)
{std::cout << "foo(int "<<i1<<")" << std::endl;}
/* TODO: put something like #ifndef FORTE ... #endif around:
void bar(char i1)
{std::cout << "foo(char "<<(int)i1<<")" << std::endl;} */
void bar(float i1)
{std::cout << "foo(float "<<i1<<")" << std::endl;}
double bar(int i1,int i2)
{std::cout << "foo(int "<<i1<<", int "<<i2<< ")" <<std::endl; return 1.0f;}
struct test {
static void foo() {std::cout << "test::foo()" <<std::endl;}
};
int main()
{
sigc::ptr_fun0(&foo)();
sigc::ptr_fun1(&foo)(1);
/* TODO: put something like #ifndef FORTE ... #else ... #endif around:
sigc::ptr_fun1<char>(&bar)(2);
sigc::ptr_fun1<float>(&bar)(2.0f); and: */
sigc::ptr_fun1(&bar)(2.0f);
sigc::ptr_fun2(&bar)(3,5);
sigc::ptr_fun(&test::foo)();
}
--
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
Making all in sigc++
make[1]: Entering directory `/export/home/gnome/2.4/nightly/libsigc/libsigc++2/sigc++'
make all-am
make[2]: Entering directory `/export/home/gnome/2.4/nightly/libsigc/libsigc++2/sigc++'
source='signal.cc' object='signal.lo' libtool=yes \
depfile='.deps/signal.Plo' tmpdepfile='.deps/signal.TPlo' \
depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c -o signal.lo `test -f 'signal.cc' || echo './'`signal.cc
mkdir .libs
CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c signal.cc -KPIC -DPIC -o .libs/signal.o
CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c signal.cc -o signal.o >/dev/null 2>&1
source='trackable.cc' object='trackable.lo' libtool=yes \
depfile='.deps/trackable.Plo' tmpdepfile='.deps/trackable.TPlo' \
depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c -o trackable.lo `test -f 'trackable.cc' || echo './'`trackable.cc
CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c trackable.cc -KPIC -DPIC -o .libs/trackable.o
CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c trackable.cc -o trackable.o >/dev/null 2>&1
source='connection.cc' object='connection.lo' libtool=yes \
depfile='.deps/connection.Plo' tmpdepfile='.deps/connection.TPlo' \
depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c -o connection.lo `test -f 'connection.cc' || echo './'`connection.cc
CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c connection.cc -KPIC -DPIC -o .libs/connection.o
CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c connection.cc -o connection.o >/dev/null 2>&1
source='functors/slot.cc' object='slot.lo' libtool=yes \
depfile='.deps/slot.Plo' tmpdepfile='.deps/slot.TPlo' \
depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c -o slot.lo `test -f 'functors/slot.cc' || echo './'`functors/slot.cc
CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c functors/slot.cc -KPIC -DPIC -o .libs/slot.o
CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c functors/slot.cc -o slot.o >/dev/null 2>&1
source='adaptors/lambda/lambda.cc' object='lambda.lo' libtool=yes \
depfile='.deps/lambda.Plo' tmpdepfile='.deps/lambda.TPlo' \
depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c -o lambda.lo `test -f 'adaptors/lambda/lambda.cc' || echo './'`adaptors/lambda/lambda.cc
CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c adaptors/lambda/lambda.cc -KPIC -DPIC -o .libs/lambda.o
CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\" -DVERSION=\"1.9.14\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.. -I.. -I/opt/gnome-2.4/include -g -c adaptors/lambda/lambda.cc -o lambda.o >/dev/null 2>&1
/bin/bash ../libtool --mode=link CC -g -i -L/opt/gnome-2.4/lib -R/opt/gnome-2.4/lib -o libsigc-2.0.la -rpath /usr/local/lib signal.lo trackable.lo connection.lo slot.lo lambda.lo
CC -G -nolib -hlibsigc-2.0.so.0 -o .libs/libsigc-2.0.so.0.0.0 .libs/signal.o .libs/trackable.o .libs/connection.o .libs/slot.o .libs/lambda.o -R/opt/gnome-2.4/lib -L/opt/gnome-2.4/lib
(cd .libs && rm -f libsigc-2.0.so.0 && ln -s libsigc-2.0.so.0.0.0 libsigc-2.0.so.0)
(cd .libs && rm -f libsigc-2.0.so && ln -s libsigc-2.0.so.0.0.0 libsigc-2.0.so)
CC -xar -o .libs/libsigc-2.0.a signal.o trackable.o connection.o slot.o lambda.o
creating libsigc-2.0.la
(cd .libs && rm -f libsigc-2.0.la && ln -s ../libsigc-2.0.la libsigc-2.0.la)
make[2]: Leaving directory `/export/home/gnome/2.4/nightly/libsigc/libsigc++2/sigc++'
make[1]: Leaving directory `/export/home/gnome/2.4/nightly/libsigc/libsigc++2/sigc++'
Making all in tests
make[1]: Entering directory `/export/home/gnome/2.4/nightly/libsigc/libsigc++2/tests'
source='test_trackable.cc' object='test_trackable.o' libtool=no \
depfile='.deps/test_trackable.Po' tmpdepfile='.deps/test_trackable.TPo' \
depmode=none /bin/bash ../depcomp \
CC -I. -I. -I.. -I.. -I/opt/gnome-2.4/include -g -c -o test_trackable.o `test -f 'test_trackable.cc' || echo './'`test_trackable.cc
/bin/bash ../libtool --mode=link CC -g -i -L/opt/gnome-2.4/lib -R/opt/gnome-2.4/lib -o test_trackable test_trackable.o ../sigc++/libsigc-2.0.la
mkdir .libs
CC -g -i -o .libs/test_trackable test_trackable.o -L/opt/gnome-2.4/lib ../sigc++/.libs/libsigc-2.0.so -R/usr/local/lib -R/opt/gnome-2.4/lib
creating test_trackable
source='test_deduce_result_type.cc' object='test_deduce_result_type.o' libtool=no \
depfile='.deps/test_deduce_result_type.Po' tmpdepfile='.deps/test_deduce_result_type.TPo' \
depmode=none /bin/bash ../depcomp \
CC -I. -I. -I.. -I.. -I/opt/gnome-2.4/include -g -c -o test_deduce_result_type.o `test -f 'test_deduce_result_type.cc' || echo './'`test_deduce_result_type.cc
/bin/bash ../libtool --mode=link CC -g -i -L/opt/gnome-2.4/lib -R/opt/gnome-2.4/lib -o test_deduce_result_type test_deduce_result_type.o ../sigc++/libsigc-2.0.la
CC -g -i -o .libs/test_deduce_result_type test_deduce_result_type.o -L/opt/gnome-2.4/lib ../sigc++/.libs/libsigc-2.0.so -R/usr/local/lib -R/opt/gnome-2.4/lib
creating test_deduce_result_type
source='test_functor_trait.cc' object='test_functor_trait.o' libtool=no \
depfile='.deps/test_functor_trait.Po' tmpdepfile='.deps/test_functor_trait.TPo' \
depmode=none /bin/bash ../depcomp \
CC -I. -I. -I.. -I.. -I/opt/gnome-2.4/include -g -c -o test_functor_trait.o `test -f 'test_functor_trait.cc' || echo './'`test_functor_trait.cc
/bin/bash ../libtool --mode=link CC -g -i -L/opt/gnome-2.4/lib -R/opt/gnome-2.4/lib -o test_functor_trait test_functor_trait.o ../sigc++/libsigc-2.0.la
CC -g -i -o .libs/test_functor_trait test_functor_trait.o -L/opt/gnome-2.4/lib ../sigc++/.libs/libsigc-2.0.so -R/usr/local/lib -R/opt/gnome-2.4/lib
creating test_functor_trait
source='test_mem_fun.cc' object='test_mem_fun.o' libtool=no \
depfile='.deps/test_mem_fun.Po' tmpdepfile='.deps/test_mem_fun.TPo' \
depmode=none /bin/bash ../depcomp \
CC -I. -I. -I.. -I.. -I/opt/gnome-2.4/include -g -c -o test_mem_fun.o `test -f 'test_mem_fun.cc' || echo './'`test_mem_fun.cc
/bin/bash ../libtool --mode=link CC -g -i -L/opt/gnome-2.4/lib -R/opt/gnome-2.4/lib -o test_mem_fun test_mem_fun.o ../sigc++/libsigc-2.0.la
CC -g -i -o .libs/test_mem_fun test_mem_fun.o -L/opt/gnome-2.4/lib ../sigc++/.libs/libsigc-2.0.so -R/usr/local/lib -R/opt/gnome-2.4/lib
creating test_mem_fun
source='test_ptr_fun.cc' object='test_ptr_fun.o' libtool=no \
depfile='.deps/test_ptr_fun.Po' tmpdepfile='.deps/test_ptr_fun.TPo' \
depmode=none /bin/bash ../depcomp \
CC -I. -I. -I.. -I.. -I/opt/gnome-2.4/include -g -c -o test_ptr_fun.o `test -f 'test_ptr_fun.cc' || echo './'`test_ptr_fun.cc
/bin/bash ../libtool --mode=link CC -g -i -L/opt/gnome-2.4/lib -R/opt/gnome-2.4/lib -o test_ptr_fun test_ptr_fun.o ../sigc++/libsigc-2.0.la
CC -g -i -o .libs/test_ptr_fun test_ptr_fun.o -L/opt/gnome-2.4/lib ../sigc++/.libs/libsigc-2.0.so -R/usr/local/lib -R/opt/gnome-2.4/lib
creating test_ptr_fun
source='test_slot.cc' object='test_slot.o' libtool=no \
depfile='.deps/test_slot.Po' tmpdepfile='.deps/test_slot.TPo' \
depmode=none /bin/bash ../depcomp \
CC -I. -I. -I.. -I.. -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 424: Error: A class template name was expected instead of operator.
"../sigc++/functors/slot.h", line 424: Error: Unexpected type name "sigc::type_trait<std::string &>::take" encountered.
"../sigc++/functors/slot.h", line 425: Error: "static sigc::internal::slot_call1<foo, void, std::string &>::call_it(sigc::internal::slot_rep*, std::string &)" cannot return a value.
"../sigc++/functors/slot.h", line 424: Error: A class template name was expected instead of operator.
"../sigc++/functors/slot.h", line 424: Error: Unexpected type name "sigc::type_trait<char>::take" encountered.
"../sigc++/functors/slot.h", line 425: Error: "static sigc::internal::slot_call1<foo, void, char>::call_it(sigc::internal::slot_rep*, const char&)" cannot return a value.
"../sigc++/functors/slot.h", line 424: Error: A class template name was expected instead of operator.
"../sigc++/functors/slot.h", line 424: Error: Unexpected type name "sigc::type_trait<int>::take" encountered.
"../sigc++/functors/slot.h", line 425: Error: "static sigc::internal::slot_call1<foo, void, int>::call_it(sigc::internal::slot_rep*, const int&)" cannot return a value.
9 Error(s) detected.
make[1]: *** [test_slot.o] Error 9
make[1]: Leaving directory `/export/home/gnome/2.4/nightly/libsigc/libsigc++2/tests'
make: *** [all-recursive] Error 1
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]