aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2009-10-23 15:06:33 +0000
committerKai Tietz <kai.tietz@onevision.com>2009-10-23 15:06:33 +0000
commit96d86ee37c0bb14988d78253a1f2e02d1dfc8d56 (patch)
tree1d081dd054052180b4d713728a384d27b4884ffd /include
parentbf201fddaaaae8fbd048f6d58b315080f5069b9f (diff)
downloadgdb-96d86ee37c0bb14988d78253a1f2e02d1dfc8d56.zip
gdb-96d86ee37c0bb14988d78253a1f2e02d1dfc8d56.tar.gz
gdb-96d86ee37c0bb14988d78253a1f2e02d1dfc8d56.tar.bz2
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.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog6
-rw-r--r--include/splay-tree.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index fd5a66f..aa3ccde 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -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
diff --git a/include/splay-tree.h b/include/splay-tree.h
index 8a56a20..57a96c4 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