--- icewm-1.3.7/src/base.h.old 2010-10-31 16:09:36.000000000 +0200 +++ icewm-1.3.7/src/base.h 2012-06-10 11:08:34.643875363 +0300 @@ -2,7 +2,11 @@ #define __BASE_H #if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3 +#if ( __GNUC__ == 4 && __GNUC_MINOR__ > 7 ) || __GNUC__ > 3 +#define __icewm_deprecated __attribute__((deprecated)) +#else #define deprecated __attribute__((deprecated)) +#endif #else #define deprecated #endif