mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 00:12:19 +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:
		| @@ -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; | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
| @@ -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; | ||||
|   | ||||
| @@ -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__)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user