Re: [gtk-list] egcs and gtk-- ?
- From: Tero Pulkkinen <terop students cc tut fi>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] egcs and gtk-- ?
- Date: 10 Apr 1998 19:15:29 +0300
"Andrew V. Shuvalov" <firstname.lastname@example.org> writes:
> When i try to use gtk-- with egcs i got:
> /usr/local/include/gtk--.h:854: sorry, not
> implemented: adjusting pointers for covariant
> How to fix it?
I noticed a situation where this error happens. If you have multiple
inheritance and the compiler might need to change the value of the returned
pointer when doing implicit conversion from derived* to base*, then gcc
cannot handle this situation and will give that error.
Thus, get rid of the multiple inheritance and you'll be fine. (Gtk--
does not use MI, so...)
I'll be fixing this problem from gtk-- too, but this information might
help you to make a workaround.
-- Tero Pulkkinen -- email@example.com --
] [Thread Prev