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 524695 - libpanelappletmm/factory.h: warning: unused parameter ‘iid’
libpanelappletmm/factory.h: warning: unused parameter ‘iid’
Status: RESOLVED FIXED
Product: gnomemm
Classification: Deprecated
Component: libpanelappletmm
2.22
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-03-27 19:11 UTC by Tim Retout
Modified: 2008-03-28 11:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove the unused 'iid'. (566 bytes, patch)
2008-03-27 19:13 UTC, Tim Retout
none Details | Review

Description Tim Retout 2008-03-27 19:11:47 UTC
When building against libpanelappletmm, I get this warning:

/usr/include/libpanelappletmm-2.6/libpanelappletmm/factory.h: In instantiation of ‘bool Gnome::Panel::<unnamed>::applet_factory_callback(PanelApplet*, const Glib::ustring&) [with DerivedApplet = Applet]’:
/usr/include/libpanelappletmm-2.6/libpanelappletmm/factory.h:97:   instantiated from ‘int Gnome::Panel::factory_main(const Glib::ustring&) [with DerivedApplet = Applet]’
src/main.cpp:30:   instantiated from here
/usr/include/libpanelappletmm-2.6/libpanelappletmm/factory.h:70: warning: unused parameter ‘iid’
Comment 1 Tim Retout 2008-03-27 19:13:07 UTC
Created attachment 108129 [details] [review]
Remove the unused 'iid'.
Comment 2 Tim Retout 2008-03-27 19:22:42 UTC
Setting version to 2.22.

Reproducing the bug probably needs you to have -Wextra in the compile flags.
Comment 3 Murray Cumming 2008-03-28 11:43:41 UTC
Fixed in svn. Thanks.

Please patch the ChangeLog in future.