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 131926 - Extra qualification error in enums.hg in G++-3.4.
Extra qualification error in enums.hg in G++-3.4.
Status: RESOLVED DUPLICATE of bug 131172
Product: gtkmm
Classification: Bindings
Component: general
2.4
Other All
: Normal major
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-01-19 14:57 UTC by Matthew Tuck
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthew Tuck 2004-01-19 14:57:23 UTC
The unreleased G++-3.4 is more strict about not accepting extra
qualifications.  That is to say, you can't put on a Scope:: to the front of
a declaration if you're already in that scope.

enums.hg has this code:

namespace Glib
{
 
template <>
class Glib::Value<Gtk::IconSize> : public Glib::Value_Enum<Gtk::IconSize>
{
public:
  static GType value_type() G_GNUC_CONST;
};
                                                                          
                          
} // namespace Glib

You need to get rid of the first Glib:: making the line:

class Value<Gtk::IconSize> : public Glib::Value_Enum<Gtk::IconSize>

The other declarations in enums.h seem to come from elsewhere and don't
have this problem.
Comment 1 Murray Cumming 2004-01-20 11:35:53 UTC
I believe this was fixed by the patch in 131172 that has been applied
in cvs, but thanks for letting us know that it's a problem for this
compiler as well.

Please let me choose the bug severity in future.

*** This bug has been marked as a duplicate of 131172 ***