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



On Sat, 2004-03-06 at 00:10, Martin Schulze wrote:
> Am 2004.03.04 17:22 schrieb(en) Damien Carbery:
> > 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.
> 
> Please try again with the version of file sigc++/adaptors/macros/ 
> adaptor_trait.h.m4 that is attached to this email. The problem is
> the syntax for explicit method template specializations. gcc expects:

Martin, is all this stuff in cvs so far? I now have access to a SUN
Forte compiler, though it might not be the same as Damien's:

bash-2.03$ CC -V
CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-11 2002/10/31

Damien, what does CC -V give you?


With the code in cvs, I get this build error:

 CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsigc++\"
-DVERSION=\"1.9.15\" -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.. -g -c signal.cc  -KPIC
-DPIC -o .libs/signal.o
"../sigc++/functors/functor_trait.h", line 48: Error: Function templates
may not have default template parameters.
"../sigc++/functors/functor_trait.h", line 48: Error: Templates can only
declare classes or functions.
"../sigc++/functors/functor_trait.h", line 51: Error: Use ";" to
terminate statements.
"../sigc++/functors/functor_trait.h", line 52: Error: T_functor is not
defined.
"../sigc++/functors/functor_trait.h", line 60: Error: No primary
specialization for partial specialization functor_trait.
"../sigc++/functors/functor_trait.h", line 80: Error: Too many arguments
for template functor_trait.
"../sigc++/functors/functor_trait.h", line 88: Error: Too many arguments
for template functor_trait.
"../sigc++/functors/functor_trait.h", line 96: Error: Too many arguments
for template functor_trait.
"../sigc++/functors/functor_trait.h", line 104: Error: Too many
arguments for template functor_trait.
"../sigc++/functors/functor_trait.h", line 112: Error: Too many
arguments for template functor_trait.
-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




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