Re: iso varargs fix
- From: "Matthias Clasen" <Matthias Clasen poet de>
- To: <gtk-devel-list gnome org>
- Subject: Re: iso varargs fix
- Date: Tue, 29 May 2001 20:06:26 +0200
Hi,
> Any objections to changing it to
>
> #if (defined(__cplusplus) ? defined(G_HAVE_ISO_CXX_VARARGS) : \
> defined(G_HAVE_ISO_C_VARARGS))
> # define G_HAVE_ISO_VARARGS 1
> #endif
This does not work for me (presumably because cpp doesn't handle ? : ).
Replacing it with the more cumbersome
#ifdef __cplusplus
#ifdef G_HAVE_ISO_CXX_VARARGS
#define G_HAVE_ISO_VARARGS 1
#endif
#else
#ifdef G_HAVE_ISO_C_VARARGS
#define G_HAVE_ISO_VARARGS 1
#endif
#endif
does work though (at least it allows me to build the pango-viewer
successfully).
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]