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 128484 - radiotoolbutton.cc copy ctor warning.
radiotoolbutton.cc copy ctor warning.
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: build
2.4
Other other
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-12-04 02:36 UTC by Billy O'Connor
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds base class initializers to copy ctor (1.51 KB, patch)
2003-12-04 19:33 UTC, Billy O'Connor
none Details | Review

Description Billy O'Connor 2003-12-04 02:36:28 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*.
Comment 1 Murray Cumming 2003-12-04 12:42:19 UTC
What version is this? Can you provide a patch if it is from CVS?
Comment 2 Billy O'Connor 2003-12-04 19:33:27 UTC
Created attachment 22106 [details] [review]
Adds base class initializers to copy ctor
Comment 3 Murray Cumming 2003-12-06 13:08:54 UTC
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.