Re: [glade--] Never use g++-2.95 with glademm/gtkmm2 !!!



Christof Petig wrote:
Morale: If you use 2.95 and gtkmm2 never let glademm add any widget to any container (unless you do not plan to put _any_ member in the user class).
   Sigh

Murray Cumming wrote:
Have you ruled out the gcc 2.9x bug mentioned in the gtkmm FAQ?


It is the same, although there's no way to work around it (besides omitting any inheritance or patching glademm to add the widgets in the user ctor with a method (which is evil and unnecessary IMHO)).

If anyone ever wants to investigate further, use the following small attachments (<2k size)

   Christof
--- src/window1.hh~	2002-11-26 10:01:15.000000000 +0100
+++ src/window1.hh	2002-11-26 10:03:38.000000000 +0100
@@ -13,6 +13,6 @@
 #  include "window1_glade.hh"
 #  define _WINDOW1_HH
 class window1 : public window1_glade
-{  
+{  int i;
 };
 #endif

Attachment: gccbug.tbz2
Description: Binary data



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