Re: Variadic macro support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 (china@xxxxxxxxxxxxxxxxxx)


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux