Mark g_assert_warning as G_GNUC_NORETURN, to avoid compiler warnings.

2004-10-28  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmessages.h: Mark g_assert_warning as G_GNUC_NORETURN,
	to avoid compiler warnings.  (#156767, Owen Taylor)
This commit is contained in:
Matthias Clasen 2004-10-29 02:20:02 +00:00 committed by Matthias Clasen
parent 1eb924770c
commit 4d424f4f30
6 changed files with 26 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* glib/gmessages.h: Mark g_assert_warning as G_GNUC_NORETURN,
to avoid compiler warnings. (#156767, Owen Taylor)
2004-10-29 Tor Lillqvist <tml@iki.fi> 2004-10-29 Tor Lillqvist <tml@iki.fi>
* glib/gstdio.c: Include also <direct.h> for mkdir() prototype * glib/gstdio.c: Include also <direct.h> for mkdir() prototype

View File

@ -1,3 +1,8 @@
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* glib/gmessages.h: Mark g_assert_warning as G_GNUC_NORETURN,
to avoid compiler warnings. (#156767, Owen Taylor)
2004-10-29 Tor Lillqvist <tml@iki.fi> 2004-10-29 Tor Lillqvist <tml@iki.fi>
* glib/gstdio.c: Include also <direct.h> for mkdir() prototype * glib/gstdio.c: Include also <direct.h> for mkdir() prototype

View File

@ -1,3 +1,8 @@
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* glib/gmessages.h: Mark g_assert_warning as G_GNUC_NORETURN,
to avoid compiler warnings. (#156767, Owen Taylor)
2004-10-29 Tor Lillqvist <tml@iki.fi> 2004-10-29 Tor Lillqvist <tml@iki.fi>
* glib/gstdio.c: Include also <direct.h> for mkdir() prototype * glib/gstdio.c: Include also <direct.h> for mkdir() prototype

View File

@ -1,3 +1,8 @@
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* glib/gmessages.h: Mark g_assert_warning as G_GNUC_NORETURN,
to avoid compiler warnings. (#156767, Owen Taylor)
2004-10-29 Tor Lillqvist <tml@iki.fi> 2004-10-29 Tor Lillqvist <tml@iki.fi>
* glib/gstdio.c: Include also <direct.h> for mkdir() prototype * glib/gstdio.c: Include also <direct.h> for mkdir() prototype

View File

@ -1,3 +1,8 @@
2004-10-28 Matthias Clasen <mclasen@redhat.com>
* glib/gmessages.h: Mark g_assert_warning as G_GNUC_NORETURN,
to avoid compiler warnings. (#156767, Owen Taylor)
2004-10-29 Tor Lillqvist <tml@iki.fi> 2004-10-29 Tor Lillqvist <tml@iki.fi>
* glib/gstdio.c: Include also <direct.h> for mkdir() prototype * glib/gstdio.c: Include also <direct.h> for mkdir() prototype

View File

@ -116,7 +116,7 @@ void g_assert_warning (const char *log_domain,
const char *file, const char *file,
const int line, const int line,
const char *pretty_function, const char *pretty_function,
const char *expression); const char *expression) G_GNUC_NORETURN;
#ifndef G_LOG_DOMAIN #ifndef G_LOG_DOMAIN