mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-25 21:46:14 +01:00
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)
This commit is contained in:
parent
db17e65ba3
commit
2f11709f3b
@ -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>
|
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* tests/env-test.c (main): Remove critical log handler;
|
* tests/env-test.c (main): Remove critical log handler;
|
||||||
|
@ -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>
|
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* tests/env-test.c (main): Remove critical log handler;
|
* tests/env-test.c (main): Remove critical log handler;
|
||||||
|
@ -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>
|
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* tests/env-test.c (main): Remove critical log handler;
|
* tests/env-test.c (main): Remove critical log handler;
|
||||||
|
@ -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>
|
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* tests/env-test.c (main): Remove critical log handler;
|
* tests/env-test.c (main): Remove critical log handler;
|
||||||
|
@ -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>
|
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* tests/env-test.c (main): Remove critical log handler;
|
* tests/env-test.c (main): Remove critical log handler;
|
||||||
|
@ -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>
|
Sat Mar 13 23:18:45 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* tests/env-test.c (main): Remove critical log handler;
|
* tests/env-test.c (main): Remove critical log handler;
|
||||||
|
@ -191,7 +191,7 @@
|
|||||||
*/
|
*/
|
||||||
#if !(defined (G_STMT_START) && defined (G_STMT_END))
|
#if !(defined (G_STMT_START) && defined (G_STMT_END))
|
||||||
# if defined (__GNUC__) && !defined (__STRICT_ANSI__) && !defined (__cplusplus)
|
# if defined (__GNUC__) && !defined (__STRICT_ANSI__) && !defined (__cplusplus)
|
||||||
# define G_STMT_START (void)(
|
# define G_STMT_START (void) __extension__ (
|
||||||
# define G_STMT_END )
|
# define G_STMT_END )
|
||||||
# else
|
# else
|
||||||
# if (defined (sun) || defined (__sun__))
|
# if (defined (sun) || defined (__sun__))
|
||||||
|
Loading…
Reference in New Issue
Block a user