GNOME Bugzilla – Bug 131172
duplicate namespace in atkmm/text.h and gtkmm/enums.h
Last modified: 2004-12-22 21:47:04 UTC
Intel compiler (both version 7 and 8) can not compile atk/atkmm/text.cc and gtk/gtkmm/enums.cc because of the duplicate namespace definitions such as `namespace Glib { class Glib::XXX; }`. ../../atk/atkmm/text.h(181): error: qualified name is not allowed in namespace member declaration class Glib::Value<Atk::TextAttribute> : public Glib::Value_Enum<Atk::TextAttribute> ^ ../../atk/atkmm/text.h(181): error: class "Glib::<error>" is not an entity that can be explicitly specialized class Glib::Value<Atk::TextAttribute> : public Glib::Value_Enum<Atk::TextAttribute> ^ text.cc(33): error: incomplete type is not allowed GType Glib::Value<Atk::TextAttribute>::value_type() ^ ../../gtk/gtkmm/enums.h(1321): error: qualified name is not allowed in namespace member declaration class Glib::Value<Gtk::IconSize> : public Glib::Value_Enum<Gtk::IconSize> ^ ../../gtk/gtkmm/enums.h(1321): error: class "Glib::<error>" is not an entity that can be explicitly specialized class Glib::Value<Gtk::IconSize> : public Glib::Value_Enum<Gtk::IconSize> ^ enums.cc(32): error: incomplete type is not allowed GType Glib::Value<Gtk::IconSize>::value_type() ^
Created attachment 23239 [details] [review] patch to fix duplicate namespace
Thanks. I will investigate. Please see http://www.gtkmm.org/bugs.shtml about creating patches. This patch patches generated files, and has no ChangeLog entry.
Created attachment 23299 [details] [review] fixed patch
Thanks. Applied, to both branches, with a mention of the Intel compiler in the ChangeLog.
*** Bug 131926 has been marked as a duplicate of this bug. ***