GNOME Bugzilla – Bug 344789
cvs build failure -- backwards initialization order in examplewindow.cc
Last modified: 2006-06-14 01:00:46 UTC
I'm getting: examplewindow.h: In constructor `ExampleWindow::ExampleWindow()': examplewindow.h:41: warning: `ExampleWindow::m_Button_Quit' will be initialized after examplewindow.h:38: warning: `Gtk::ListViewText ExampleWindow::m_ListViewText' examplewindow.cc:25: warning: when initialized here make[5]: *** [examplewindow.o] Error 1 make[5]: Leaving directory `/export/home/b/newrenTemp/gnome/gtkmm/examples/book/treeview/listviewtext' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/export/home/b/newrenTemp/gnome/gtkmm/examples/book/treeview' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/export/home/b/newrenTemp/gnome/gtkmm/examples/book' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/b/newrenTemp/gnome/gtkmm/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/b/newrenTemp/gnome/gtkmm' make: *** [all] Error 2 Fix is just to reverse initialization order. Let me know if you'd prefer if I filed these as one big bug, or would like patches when I know the workaround/fix like this case, or have any other suggestsions. Thanks for your hard work!
I've committed the fix for this to CVS. Thanks.