From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Henderson To: Joel Sherrill Cc: egcs@cygnus.com Subject: Re: va-960.h warning Date: Sat, 02 May 1998 10:47:00 -0000 Message-id: <19980502104745.27913@dot.cygnus.com> References: X-SW-Source: 1998-05/msg00036.html On Sat, May 02, 1998 at 10:38:45AM -0500, Joel Sherrill wrote: > Wouldn't the following avoid a warning? > > #define va_end(AP) Yes, but then is no longer valid in the place of an expression, eg (va_end(args), foo()) Does #define va_end(AP) ((void)0) solve your warning? I think that's what the original author was after anyway. r~