summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-03-14 04:36:04 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-03-14 04:36:04 +0000
commit2f11709f3bdeadf9fed1db0bc256936fa6ff283f (patch)
tree7cb42e02e4db84a3ff2671d6276b43366398a5ef
parentdb17e65ba31456646063f10251f41487a9eab950 (diff)
Add __extension__ to G_STMT_START to quite gcc -pedantic. (#131899,
Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com> * glib/gmacros.h (G_STMT_START): Add __extension__ to G_STMT_START to quite gcc -pedantic. (#131899, Olivier Biot)
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-126
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--glib/gmacros.h2
7 files changed, 37 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e377cc84..25c684a0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmacros.h (G_STMT_START): Add __extension__
+ to G_STMT_START to quite gcc -pedantic. (#131899,
+ Olivier Biot)
+
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
* tests/env-test.c (main): Remove critical log handler;
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 2e377cc84..25c684a0d 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,9 @@
+Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmacros.h (G_STMT_START): Add __extension__
+ to G_STMT_START to quite gcc -pedantic. (#131899,
+ Olivier Biot)
+
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
* tests/env-test.c (main): Remove critical log handler;
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index 2e377cc84..25c684a0d 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -1,3 +1,9 @@
+Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmacros.h (G_STMT_START): Add __extension__
+ to G_STMT_START to quite gcc -pedantic. (#131899,
+ Olivier Biot)
+
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
* tests/env-test.c (main): Remove critical log handler;
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 2e377cc84..25c684a0d 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,9 @@
+Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmacros.h (G_STMT_START): Add __extension__
+ to G_STMT_START to quite gcc -pedantic. (#131899,
+ Olivier Biot)
+
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
* tests/env-test.c (main): Remove critical log handler;
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 2e377cc84..25c684a0d 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,9 @@
+Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmacros.h (G_STMT_START): Add __extension__
+ to G_STMT_START to quite gcc -pedantic. (#131899,
+ Olivier Biot)
+
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
* tests/env-test.c (main): Remove critical log handler;
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 2e377cc84..25c684a0d 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,9 @@
+Sat Mar 13 23:30:53 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmacros.h (G_STMT_START): Add __extension__
+ to G_STMT_START to quite gcc -pedantic. (#131899,
+ Olivier Biot)
+
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
* tests/env-test.c (main): Remove critical log handler;
diff --git a/glib/gmacros.h b/glib/gmacros.h
index a5d97f102..d205053fb 100644
--- a/glib/gmacros.h
+++ b/glib/gmacros.h
@@ -191,7 +191,7 @@
*/
#if !(defined (G_STMT_START) && defined (G_STMT_END))
# if defined (__GNUC__) && !defined (__STRICT_ANSI__) && !defined (__cplusplus)
-# define G_STMT_START (void)(
+# define G_STMT_START (void) __extension__ (
# define G_STMT_END )
# else
# if (defined (sun) || defined (__sun__))