Re: [gtk-list] Re: Gtk-- issue
- From: Tero Pulkkinen <terop students cc tut fi>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Gtk-- issue
- Date: 17 Jan 1998 22:26:28 +0200
Snoopdave <snoopdave@geocities.com> writes:
> After installing egcs 1.0.1 I was finally able to get
> gtk-- to build. I'm impressed; it looks like gtk development
> will be much easier with gtk.
Currently gtk-- unfortunately requires egcs or gcc2.8.0.
The problem is currently in gcc2.7.2 is with its buggy nested classes support.
You cannot do the following (name lookup or something doesnt work):
template<class T>
class mystruct {
T::nested_class_of_T variable;
};
> I've got two questions:
>
> - Does gtk-- really require egcs? I was not able to
> build with gcc-2.7.2, but I did see comments in gtk--.h
> that indicated it should work.
It almost does work with 2.7.2. Support for overriding virtual member
functions from widgets implemented with C code requires that
construct. (I know it can be fixed (quite easily) by generating one of
the classes with code generation instead of templates, I just havent
bothered to do that yet...). (If there's enough people that consider
2.7.2 support essential, I'll probably do that soon..)
> - If egcs is required, just out of curiosity, can somebody
> please tell me what things are missing from gcc-2.7.2 that
> make egcs necessary?
There has been tendency of people using gtk-- currently to prefer egcs
and many of the patches I've got require egcs(especially member
templates). Now gcc2.8.0's release will at some point make us turn
completely to features that 2.8.0 has, but not yet - maybe there will
be a version that works with 2.7.2, but resisting moving to 2.8.0 is
kinda hard... Currently there's only one thing that requires egcs.
--
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]