From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Sherrill To: egcs@cygnus.com Subject: va-960.h warning Date: Sat, 02 May 1998 08:38:00 -0000 Message-id: X-SW-Source: 1998-05/msg00034.html Hi, While investigating warning messages, I came across one caused by the definition of va_end in va-960.h in egcs-1.0.2. The definition is: #ifndef va_end void va_end (__gnuc_va_list); /* Defined in libgcc.a */ #endif #define va_end(AP) ((void *)0) And causes this warning: file:NNN: warning: statement with no effect Wouldn't the following avoid a warning? #define va_end(AP) --joel Joel Sherrill Director of Research & Development joel@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (205) 722-9985