--- lib/cdt/cdt.h.old 2012-07-26 23:49:43.941610640 +0400 +++ lib/cdt/cdt.h 2012-07-26 23:57:20.253303190 +0400 @@ -239,8 +239,13 @@ extern unsigned int dtstrhash _ARG_((unsigned int, Void_t*, int)); #if !_PACKAGE_ast +#ifdef __cplusplus +extern int memcmp _ARG_((const Void_t*, const Void_t*, size_t)) __THROW __attribute_pure__ __nonnull ((1, 2)); +extern int strcmp _ARG_((const char*, const char*)) __THROW __attribute_pure__ __nonnull ((1, 2)); +#else extern int memcmp _ARG_((const Void_t*, const Void_t*, size_t)); extern int strcmp _ARG_((const char*, const char*)); +#endif #endif #undef extern