After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344789 - cvs build failure -- backwards initialization order in examplewindow.cc
cvs build failure -- backwards initialization order in examplewindow.cc
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: build
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2006-06-13 17:35 UTC by Elijah Newren
Modified: 2006-06-14 01:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elijah Newren 2006-06-13 17:35:23 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!
Comment 1 Jonathon Jongsma 2006-06-14 01:00:46 UTC
I've committed the fix for this to CVS.  Thanks.