GNOME Bugzilla – Bug 128484
radiotoolbutton.cc copy ctor warning.
Last modified: 2004-12-22 21:47:04 UTC
radiotoolbutton.cc: In copy constructor ` Gtk::RadioToolButton::RadioToolButton(Gtk::RadioToolButton&, const Gtk::StockID&)': radiotoolbutton.cc:58: warning: base `Glib::ObjectBase' will be initialized after radiotoolbutton.cc:58: warning: base `SigC::ObjectBase' radiotoolbutton.cc:58: warning: base class `class SigC::Object' should be explicitly initialized in the copy constructor make[1]: *** [radiotoolbutton.lo] Error 1 make[1]: Leaving directory `/home/billyoc/cvs/gnome2/gtkmm/gtk/gtkmm' make: *** [all-recursive] Error 1 Just a warning, but with -Werror, *shrug*.
What version is this? Can you provide a patch if it is from CVS?
Created attachment 22106 [details] [review] Adds base class initializers to copy ctor
I wonder why this is necessary here, but not for other constructors. I guess it's because it looks like a copy constructor. That's bad anyway, so I have removed the constructor. People can use set_group() and get_group() instead. Thanks.