--- libsigc++-2.0.18/sigc++/signal.h 2007-08-13 13:18:01.000000000 +0200 +++ libsigc++-2.0.18-devel/sigc++/signal.h 2008-01-16 10:00:46.000000000 +0100 @@ -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 + + // gcc-4.3.0 does not allow typedef redefinitions + #if (__GNUC__ >= 4) && (__GNUC_MINOR__ >= 3) + #undef SIGC_TYPEDEF_REDEFINE_ALLOWED + #endif + #endif namespace sigc { --- libsigc++-2.0.18/sigc++/macros/signal.h.m4 2007-08-13 13:17:42.000000000 +0200 +++ libsigc++-2.0.18-devel/sigc++/macros/signal.h.m4 2008-01-16 09:24:37.000000000 +0100 @@ -484,6 +484,12 @@ divert(0) //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 + + // gcc-4.3.0 does not allow typedef redefinitions + #if (__GNUC__ >= 4) && (__GNUC_MINOR__ >= 3) + #undef SIGC_TYPEDEF_REDEFINE_ALLOWED + #endif + #endif namespace sigc {