Re: [sigc] test tarball: libsigc++ 2.0.6 (test1)



Ah - I forgot that your sigc++/functors/slot.h doesn't get rebuilt from the modified sigc++/functors/macros/slot.h.m4 since you don't use GNU make. Please either rebuild it manually or wait until I get around to create a new test tarball later today.

Regards,

 Martin

Am 11.10.2004 22:07:29 schrieb(en) Timothy M. Shead:
Martin Schulze wrote:
> To speed up things I had a go at the 'operator new/delete ()'
solution
> myself. Please try again with the attached patch applied against the

> test tarball or current cvs!

Applied this to the test tarball, and got errors compiling the test
cases, here's a canonical example:

------ Build started: Project: test_accumulated, Configuration: Debug
Win32 ------

Compiling...
test_accumulated.cc
c:\cygwin\home\tshead\libsigc++-2.0.6\sigc++\functors\slot.h(532) :
error C2664: 'sigc::slot_base::slot_base(sigc::slot_base::rep_type *)'
:
cannot convert parameter 1 from
'sigc::internal::typed_slot_rep<T_functor>' to
'sigc::slot_base::rep_type *'
         with
         [
             T_functor=sigc::pointer_functor1<int,int>
         ]
         No user-defined-conversion operator available that can
perform
this conversion, or the operator cannot be called

c:\cygwin\home\tshead\libsigc++-2.0.6\sigc++\functors\slot.h(1160) :
see
reference to function template instantiation
'sigc::slot1<T_return,T_arg1>::slot1<T_functor>(const T_functor &)'
being compiled
         with
         [
             T_return=int,
             T_arg1=int,
             T_functor=sigc::pointer_functor1<int,int>
         ]

c:\cygwin\home\tshead\libsigc++-2.0.6\tests\test_accumulated.cc(41) :
see reference to function template instantiation
'sigc::slot<T_return,T_arg1>::slot<sigc::pointer_functor1<T_arg1,T_return>> (const

T_functor &)' being compiled
         with
         [
             T_return=int,
             T_arg1=int,
             T_functor=sigc::pointer_functor1<int,int>
         ]
c:\cygwin\home\tshead\libsigc++-2.0.6\sigc++\functors\slot.h(532) :
error C2664: 'sigc::slot_base::slot_base(sigc::slot_base::rep_type *)'
:
cannot convert parameter 1 from
'sigc::internal::typed_slot_rep<T_functor>' to
'sigc::slot_base::rep_type *'
         with
         [
             T_functor=sigc::bound_mem_functor1<int,A,int>
         ]
         No user-defined-conversion operator available that can
perform
this conversion, or the operator cannot be called

c:\cygwin\home\tshead\libsigc++-2.0.6\sigc++\functors\slot.h(1160) :
see
reference to function template instantiation
'sigc::slot1<T_return,T_arg1>::slot1<T_functor>(const T_functor &)'
being compiled
         with
         [
             T_return=int,
             T_arg1=int,
             T_functor=sigc::bound_mem_functor1<int,A,int>
         ]

c:\cygwin\home\tshead\libsigc++-2.0.6\tests\test_accumulated.cc(42) :
see reference to function template instantiation
'sigc::slot<T_return,T_arg1>::slot<sigc::bound_mem_functor1<T_return,T_obj,T_arg1>> (const

T_functor &)' being compiled
         with
         [
             T_return=int,
             T_arg1=int,
             T_obj=A,
             T_functor=sigc::bound_mem_functor1<int,A,int>
         ]
c:\cygwin\home\tshead\libsigc++-2.0.6\sigc++\functors\slot.h(532) :
error C2664: 'sigc::slot_base::slot_base(sigc::slot_base::rep_type *)'
:
cannot convert parameter 1 from
'sigc::internal::typed_slot_rep<T_functor>' to
'sigc::slot_base::rep_type *'
         with
         [
             T_functor=sigc::pointer_functor1<double,int>
         ]
         No user-defined-conversion operator available that can
perform
this conversion, or the operator cannot be called

c:\cygwin\home\tshead\libsigc++-2.0.6\sigc++\functors\slot.h(1160) :
see
reference to function template instantiation
'sigc::slot1<T_return,T_arg1>::slot1<T_functor>(const T_functor &)'
being compiled
         with
         [
             T_return=int,
             T_arg1=int,
             T_functor=sigc::pointer_functor1<double,int>
         ]

c:\cygwin\home\tshead\libsigc++-2.0.6\tests\test_accumulated.cc(43) :
see reference to function template instantiation
'sigc::slot<T_return,T_arg1>::slot<sigc::pointer_functor1<double,T_return>> (const

T_functor &)' being compiled
         with
         [
             T_return=int,
             T_arg1=int,
             T_functor=sigc::pointer_functor1<double,int>
         ]

Build log was saved at
"file://c:\cygwin\home\tshead\libsigc++-2.0.6\MSVC_Net2003\tests \test_accumulated\Debug\BuildLog.htm"
test_accumulated - 3 error(s), 0 warning(s)






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