[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Variadic macro support
From: |
Albert Chin |
Subject: |
Re: Variadic macro support |
Date: |
Thu, 24 Aug 2006 13:00:31 -0500 |
User-agent: |
Mutt/1.5.6i |
On Thu, Aug 24, 2006 at 10:50:06AM -0400, nash wrote:
> Does anyone happen to have a check to determine if variadic macros
> with no named args are supported in C99 mode? The following works fine
> under gcc, but flames out with a nasty-gram under AIX's c99 compiler:
>
> #define my_debug_macro(...) some_debug_function(__FILE__, __LINE__,
> __VA_ARGS__)
glib has this in configure.in:
# check for flavours of varargs macros
AC_MSG_CHECKING(for ISO C99 varargs macros in C)
...
--
albert chin (address@hidden)