I experienced the same problem. I found that Ubuntu team recently
released a new package which fixes the issue. The URL for the package:
https://launchpad.net/ubuntu/+source/libsigc++-2.0/2.0.17-2ubuntu1

Actual patch:

--- libsigc++-2.0-2.0.17.orig/sigc++/macros/signal.h.m4
+++ libsigc++-2.0-2.0.17/sigc++/macros/signal.h.m4
@@ -484,6 +484,12 @@
   //do not allow a typedef to have the same name as a class in the
typedef's definition.
   //For Sun Forte CC 5.7 (SUN Workshop 10), comment this out to fix the build.
   #define SIGC_TYPEDEF_REDEFINE_ALLOWED 1
+
+  #ifdef __GNUC__
+    #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
+      #undef SIGC_TYPEDEF_REDEFINE_ALLOWED
+    #endif
+  #endif
 #endif

 namespace sigc {
--- libsigc++-2.0-2.0.17.orig/sigc++/signal.h
+++ libsigc++-2.0-2.0.17/sigc++/signal.h
@@ -19,6 +19,12 @@
   //do not allow a typedef to have the same name as a class in the
typedef's definition.
   //For Sun Forte CC 5.7 (SUN Workshop 10), comment this out to fix the build.
   #define SIGC_TYPEDEF_REDEFINE_ALLOWED 1
+
+  #ifdef __GNUC__
+    #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
+      #undef SIGC_TYPEDEF_REDEFINE_ALLOWED
+    #endif
+  #endif
 #endif



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to