GNOME Bugzilla – Bug 131926
Extra qualification error in enums.hg in G++-3.4.
Last modified: 2004-12-22 21:47:04 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.
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 ***