Re: Fwd: Re: [sigc] [Fwd: libsigc++ 1.9.13 fails on Solaris 9 sparc] [martin-ml hippogriff de]



No go. "Overloading ambiguity" with is_base_and_derived.
Log attached.

Martin Schulze wrote:
Am 2004.02.20 19:08 schrieb(en) Damien Carbery:

Looks like similar issues as last time. Log attached.


That's bad news. Could you just try to compile the test program
I'm attaching and e-mail me the output of the binary? We need to
find a working flavour of is_base_and_derived<>!
I did some research and obviously boost are using the same sizeof()
trick than us. There doesn't seem to be an alternative.

I had trouble applying the patch - I'm not very good at that.


Sorry for that.

 patch -p0 < ../base_and_derived.patch

works for me in directory libsigc++-1.9.14.

Regards,

 Martin


# CC: Sun C++ 5.5 Patch 113817-03 2003/10/14
$ CC test_base_and_derived.cc
"test_base_and_derived.cc", line 115: Error: Overloading ambiguity between "static is_base_and_derived<A, D>::test::is_base_class_(const void*)" and "static is_base_and_derived<A, D>::test::is_base_class_(A*)".
"test_base_and_derived.cc", line 236:     Where: While specializing "is_base_and_derived<A, D>".
"test_base_and_derived.cc", line 236:     Where: Specialized in non-template code.
"test_base_and_derived.cc", line 142: Error: Overloading ambiguity between "static is_base_and_derived1<A, B>::test::is_base_class_(void*)" and "static is_base_and_derived1<A, B>::test::is_base_class_(A*)".
"test_base_and_derived.cc", line 243:     Where: While specializing "is_base_and_derived1<A, B>".
"test_base_and_derived.cc", line 243:     Where: Specialized in non-template code.
"test_base_and_derived.cc", line 142: Error: Overloading ambiguity between "static is_base_and_derived1<A, D>::test::is_base_class_(void*)" and "static is_base_and_derived1<A, D>::test::is_base_class_(A*)".
"test_base_and_derived.cc", line 245:     Where: While specializing "is_base_and_derived1<A, D>".
"test_base_and_derived.cc", line 245:     Where: Specialized in non-template code.
3 Error(s) detected.


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