mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
don't use inline for !__GNUC__ case with g_warning, g_error, and g_message
* glib.h: don't use inline for !__GNUC__ case with g_warning, g_error, and g_message wrappers since some compilers throw away arguments in this case -Yosh
This commit is contained in:
parent
0d01699467
commit
b9dd5bc19c
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib.h: don't use inline for !__GNUC__ case with g_warning,
|
||||||
|
g_error, and g_message wrappers since some compilers throw
|
||||||
|
away arguments in this case
|
||||||
|
|
||||||
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4
|
* acinclude.m4
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib.h: don't use inline for !__GNUC__ case with g_warning,
|
||||||
|
g_error, and g_message wrappers since some compilers throw
|
||||||
|
away arguments in this case
|
||||||
|
|
||||||
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4
|
* acinclude.m4
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib.h: don't use inline for !__GNUC__ case with g_warning,
|
||||||
|
g_error, and g_message wrappers since some compilers throw
|
||||||
|
away arguments in this case
|
||||||
|
|
||||||
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4
|
* acinclude.m4
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib.h: don't use inline for !__GNUC__ case with g_warning,
|
||||||
|
g_error, and g_message wrappers since some compilers throw
|
||||||
|
away arguments in this case
|
||||||
|
|
||||||
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4
|
* acinclude.m4
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib.h: don't use inline for !__GNUC__ case with g_warning,
|
||||||
|
g_error, and g_message wrappers since some compilers throw
|
||||||
|
away arguments in this case
|
||||||
|
|
||||||
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4
|
* acinclude.m4
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib.h: don't use inline for !__GNUC__ case with g_warning,
|
||||||
|
g_error, and g_message wrappers since some compilers throw
|
||||||
|
away arguments in this case
|
||||||
|
|
||||||
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4
|
* acinclude.m4
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib.h: don't use inline for !__GNUC__ case with g_warning,
|
||||||
|
g_error, and g_message wrappers since some compilers throw
|
||||||
|
away arguments in this case
|
||||||
|
|
||||||
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4
|
* acinclude.m4
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 13 11:27:24 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib.h: don't use inline for !__GNUC__ case with g_warning,
|
||||||
|
g_error, and g_message wrappers since some compilers throw
|
||||||
|
away arguments in this case
|
||||||
|
|
||||||
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
Tue Jan 12 21:59:14 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* acinclude.m4
|
* acinclude.m4
|
||||||
|
6
glib.h
6
glib.h
@ -1273,7 +1273,7 @@ GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
|
|||||||
G_LOG_LEVEL_WARNING, \
|
G_LOG_LEVEL_WARNING, \
|
||||||
format, ##args)
|
format, ##args)
|
||||||
#else /* !__GNUC__ */
|
#else /* !__GNUC__ */
|
||||||
static inline void
|
static void
|
||||||
g_error (const gchar *format,
|
g_error (const gchar *format,
|
||||||
...)
|
...)
|
||||||
{
|
{
|
||||||
@ -1282,7 +1282,7 @@ g_error (const gchar *format,
|
|||||||
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
|
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
}
|
}
|
||||||
static inline void
|
static void
|
||||||
g_message (const gchar *format,
|
g_message (const gchar *format,
|
||||||
...)
|
...)
|
||||||
{
|
{
|
||||||
@ -1291,7 +1291,7 @@ g_message (const gchar *format,
|
|||||||
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, format, args);
|
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, format, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
}
|
}
|
||||||
static inline void
|
static void
|
||||||
g_warning (const gchar *format,
|
g_warning (const gchar *format,
|
||||||
...)
|
...)
|
||||||
{
|
{
|
||||||
|
@ -1273,7 +1273,7 @@ GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
|
|||||||
G_LOG_LEVEL_WARNING, \
|
G_LOG_LEVEL_WARNING, \
|
||||||
format, ##args)
|
format, ##args)
|
||||||
#else /* !__GNUC__ */
|
#else /* !__GNUC__ */
|
||||||
static inline void
|
static void
|
||||||
g_error (const gchar *format,
|
g_error (const gchar *format,
|
||||||
...)
|
...)
|
||||||
{
|
{
|
||||||
@ -1282,7 +1282,7 @@ g_error (const gchar *format,
|
|||||||
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
|
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
}
|
}
|
||||||
static inline void
|
static void
|
||||||
g_message (const gchar *format,
|
g_message (const gchar *format,
|
||||||
...)
|
...)
|
||||||
{
|
{
|
||||||
@ -1291,7 +1291,7 @@ g_message (const gchar *format,
|
|||||||
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, format, args);
|
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, format, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
}
|
}
|
||||||
static inline void
|
static void
|
||||||
g_warning (const gchar *format,
|
g_warning (const gchar *format,
|
||||||
...)
|
...)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user