On Mon, 2004-10-11 at 09:29 -0500, Albert Chin wrote:
> The Sun C compiler on Solaris 2.5.1 does not support ISO/GNU varargs.
> Therefore, when <glib/gmessages.h> is pulled in from <glib.h>, it
> forces the caller to link in -lglib for g_logv() because:
> ...
> #else /* no varargs macros */
> static void
> g_error (const gchar *format,
> ...)
> {
> va_list args;
> va_start (args, format);
> g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
> va_end (args);
> }
> ...
G_LOG_DOMAIN is a macro that gets redefined to GTK+,etc.
Regards,
Owen
Attachment:
signature.asc
Description: This is a digitally signed message part