From 428b80d5e40f1217e82ed45c3e060549c8f3298b Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Fri, 23 Oct 2009 15:08:10 +0000 Subject: [PATCH] splay-tree.h (libi_uhostptr_t): Add gcc specific __extension__ for long long type case to silent cX9. 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. From-SVN: r153499 --- include/ChangeLog | 6 ++++++ include/splay-tree.h | 6 ++++++ 2 files changed, 12 insertions(+) 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