diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-03-14 04:36:04 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-03-14 04:36:04 +0000 |
commit | 2f11709f3bdeadf9fed1db0bc256936fa6ff283f (patch) | |
tree | 7cb42e02e4db84a3ff2671d6276b43366398a5ef | |
parent | db17e65ba31456646063f10251f41487a9eab950 (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-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-12 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | glib/gmacros.h | 2 |
7 files changed, 37 insertions, 1 deletions
@@ -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__)) |