2009-10-23 Kai Tietz <kai.tietz@onevision.com>
authorKai Tietz <kai.tietz@onevision.com>
Fri, 23 Oct 2009 15:06:33 +0000 (15:06 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Fri, 23 Oct 2009 15:06:33 +0000 (15:06 +0000)
* splay-tree.h (libi_uhostptr_t): Add gcc specific
__extension__ for long long type case to silent cX9.
(libi_shostptr_t): Likewise.

include/ChangeLog
include/splay-tree.h

index fd5a66f40c9fb32dfa68678b5c6b6f579a43b9a4..aa3ccde65e67fd54b5da89d32b0612a7becb33bd 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 8a56a20cdc38cb919ec23fe64e6c2bf36280abb5..57a96c4a3de58a5504a931d4e19bc4eb0386a9da 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