mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 14:36:16 +01:00
if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as ((gchar*) 0) instead of
Sun Jan 17 16:14:03 1999 Tim Janik <timj@gtk.org> * glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as ((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported by Seth Alves <alves@hungry.com>.
This commit is contained in:
parent
5c2fb3762f
commit
8ad2623ded
@ -1,3 +1,9 @@
|
||||
Sun Jan 17 16:14:03 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as
|
||||
((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported
|
||||
by Seth Alves <alves@hungry.com>.
|
||||
|
||||
Sun Jan 17 14:13:52 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jan 17 16:14:03 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as
|
||||
((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported
|
||||
by Seth Alves <alves@hungry.com>.
|
||||
|
||||
Sun Jan 17 14:13:52 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jan 17 16:14:03 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as
|
||||
((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported
|
||||
by Seth Alves <alves@hungry.com>.
|
||||
|
||||
Sun Jan 17 14:13:52 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jan 17 16:14:03 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as
|
||||
((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported
|
||||
by Seth Alves <alves@hungry.com>.
|
||||
|
||||
Sun Jan 17 14:13:52 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jan 17 16:14:03 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as
|
||||
((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported
|
||||
by Seth Alves <alves@hungry.com>.
|
||||
|
||||
Sun Jan 17 14:13:52 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jan 17 16:14:03 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as
|
||||
((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported
|
||||
by Seth Alves <alves@hungry.com>.
|
||||
|
||||
Sun Jan 17 14:13:52 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jan 17 16:14:03 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as
|
||||
((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported
|
||||
by Seth Alves <alves@hungry.com>.
|
||||
|
||||
Sun Jan 17 14:13:52 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jan 17 16:14:03 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h (g_error): if !defined (G_LOG_DOMAIN) define G_LOG_DOMAIN as
|
||||
((gchar*) 0) instead of ((void*) 0) to silence egcs C++ mode, reported
|
||||
by Seth Alves <alves@hungry.com>.
|
||||
|
||||
Sun Jan 17 14:13:52 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h: added a define G_HOOK_DEFERRED_DESTROY, to substitute a noop
|
||||
|
2
glib.h
2
glib.h
@ -1263,7 +1263,7 @@ GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
|
||||
GLogLevelFlags fatal_mask);
|
||||
GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
|
||||
#ifndef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN (NULL)
|
||||
#define G_LOG_DOMAIN ((gchar*) 0)
|
||||
#endif /* G_LOG_DOMAIN */
|
||||
#ifdef __GNUC__
|
||||
#define g_error(format, args...) g_log (G_LOG_DOMAIN, \
|
||||
|
@ -1263,7 +1263,7 @@ GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
|
||||
GLogLevelFlags fatal_mask);
|
||||
GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
|
||||
#ifndef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN (NULL)
|
||||
#define G_LOG_DOMAIN ((gchar*) 0)
|
||||
#endif /* G_LOG_DOMAIN */
|
||||
#ifdef __GNUC__
|
||||
#define g_error(format, args...) g_log (G_LOG_DOMAIN, \
|
||||
|
Loading…
Reference in New Issue
Block a user