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

Christof Petig <[email protected]>
Newsgroups gmane.comp.gnome.glademm
Organization Adolf Petig GmbH & Co. KG
Message-ID <[email protected]>
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
gccbug.diff (text/plain, 249 B)
--- 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
gccbug.tbz2 (application/octet-stream, 883 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.