OSDN Git Service

2009-10-23 Kai Tietz <kai.tietz@onevision.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Oct 2009 15:08:10 +0000 (15:08 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Oct 2009 15:08:10 +0000 (15:08 +0000)
* splay-tree.h (libi_uhostptr_t): Add gcc specific
__extension__ for long long type case to silent cX9.
(libi_shostptr_t): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153499 138bc75d-0d04-0410-961f-82ee72b054a4

include/ChangeLog
include/splay-tree.h

index 3b11371..6cff295 100644 (file)
@@ -1,3 +1,9 @@
+2009-10-23  Kai Tietz  <kai.tietz@onevision.com>
+
+       * 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  <espindola@google.com>
 
        PR40790
index 8a56a20..57a96c4 100644 (file)
@@ -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