Add __extension__ to G_STMT_START to quite gcc -pedantic. (#131899,
authorOwen Taylor <otaylor@redhat.com>
Sun, 14 Mar 2004 04:36:04 +0000 (04:36 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sun, 14 Mar 2004 04:36:04 +0000 (04:36 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmacros.h

index 2e377cc847545cc13b4fcd3e2db0dec54bfa2a1d..25c684a0d12458ce2900640225b30d68145d1319 100644 (file)
--- 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;
index 2e377cc847545cc13b4fcd3e2db0dec54bfa2a1d..25c684a0d12458ce2900640225b30d68145d1319 100644 (file)
@@ -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;
index 2e377cc847545cc13b4fcd3e2db0dec54bfa2a1d..25c684a0d12458ce2900640225b30d68145d1319 100644 (file)
@@ -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;
index 2e377cc847545cc13b4fcd3e2db0dec54bfa2a1d..25c684a0d12458ce2900640225b30d68145d1319 100644 (file)
@@ -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;
index 2e377cc847545cc13b4fcd3e2db0dec54bfa2a1d..25c684a0d12458ce2900640225b30d68145d1319 100644 (file)
@@ -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;
index 2e377cc847545cc13b4fcd3e2db0dec54bfa2a1d..25c684a0d12458ce2900640225b30d68145d1319 100644 (file)
@@ -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;
index a5d97f102ad09a9e3731558d8e6a03d476bed387..d205053fb305ff88d83d3d6c3a8ae1e6acceab3a 100644 (file)
  */
 #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__))