diff --git a/include/ChangeLog b/include/ChangeLog index 3b11371a7e4..6cff29517f6 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2009-10-23 Kai Tietz + + * splay-tree.h (libi_uhostptr_t): Add gcc specific + __extension__ for long long type case to silent cX9. + (libi_shostptr_t): Likewise. + 2009-10-19 Rafael Avila de Espindola PR40790 diff --git a/include/splay-tree.h b/include/splay-tree.h index 8a56a20cdc3..57a96c4a3de 100644 --- a/include/splay-tree.h +++ b/include/splay-tree.h @@ -41,7 +41,13 @@ extern "C" { typedef unsigned long int libi_uhostptr_t; typedef long int libi_shostptr_t; #else +#ifdef __GNUC__ + __extension__ +#endif typedef unsigned long long libi_uhostptr_t; +#ifdef __GNUC__ + __extension__ +#endif typedef long long libi_shostptr_t; #endif