Re: [gtkmm] Compiling my first gtkmm program - HELP!!
- From: Maya <EscalanteCanada netscape net>
- Cc: gtkmm mailing list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Compiling my first gtkmm program - HELP!!
- Date: Sun, 25 Apr 2004 17:07:57 -0400
Yes, Nick answered your question.
I realize that it is not imperative to have the 'virtual' key word in
this case, but it has become a force of habit in my case. However, I
would appreciate if you compile my simple class using the Makefile I wrote.
AFAIK, there should not be any problem with my code; I mean its trivial
code!
Please folks, give it a shut. This problem has delay the coding process
long enough.
TIA.
matthew alledora co uk wrote:
Well I don't think it's the Makefile this time. I'd like to know what
this is doing here:
class Wimm : virtual public Gtk::Window {
I didn't even know you could do virtual inheritance, and I certainly
have no idea what it means. Since the errors look like they might be
related to virtual function tables and they're certainly something to
do with something down in the Gtk::Window ancestor classes, perhaps
you could try
class Wimm : public Gtk::Window {
instead and see what happens. Unless there's a particular reason you
need to do it, in which case someone more knowledgeable than I will
have to take over, or I'll have to go and read about it, because I've
never heard of virtual inheritance in C++. But I guess it must exist
in some form or it wouldn't compile (or is that me putting too much
faith in g++?)
Anyway, that's all I can offer this time... glad my other tip helped.
I honestly didn't notice these error messages really last time, as
they were a bit buried amidst the others.
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
--
* The media's the most powerful entity on earth. They have the
power to make the innocent guilty and to make the guilty
innocent, and that's power.
- Malcom X
* You cannot exercise your power to a point of humiliation.
- Jean Chretien
* It's amazing how the small seeds of distrust and misunderstanding
can yield a crop of hate and death...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]