[gtkmm] Compiling programs with Intel C++ Compiler and gtkmm-2.2.8



When compiling a program with the Intel C++ Compiler (icc-8.0.058)
on FreeBSD 5.2-CURRENT I get the following error:

/usr/X11R6/include/gtkmm-2.0/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>

The fix is simply:

--- /tmp/enums.h.orig	Wed Jan 28 11:03:16 2004
+++ /usr/X11R6/include/gtkmm-2.0/gtkmm/enums.h	Wed Jan 28 11:03:25 2004
@@ -1318,7 +1318,7 @@
 {
 
 template <>
-class Glib::Value<Gtk::IconSize> : public Glib::Value_Enum<Gtk::IconSize>
+class Value<Gtk::IconSize> : public Glib::Value_Enum<Gtk::IconSize>
 {
 public:
   static GType value_type() G_GNUC_CONST;

-- 
Morten Rodal




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]