This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bug in gcc/ginclude/va-i960.h
- To: egcs-bugs at cygnus dot com
- Subject: Bug in gcc/ginclude/va-i960.h
- From: "Brad M. Garcia" <bgarcia at fore dot com>
- Date: Fri, 17 Apr 1998 12:37:35 -0400 (EDT)
- Reply-To: "Brad M. Garcia" <bgarcia at fore dot com>
In this file, va_end is defined as:
#define va_end(AP) ((void *)0)
But egcs doesn't like this, and responds with:
libpam/pam_log.c: In function `pam_system_log':
libpam/pam_log.c:399: warning: statement with no effect
I believe it should actually be defined as:
#define va_end(AP) ((void)0)
Just like for every other machine. The warning goes away in
that case.
Brad Garcia
___/ __ / __ / ___/ "Being the Linux of digital media
__/ / / / _/ __/ would be a very good life."
_/ ____/ _/ _| ____/ - Jean-Louis Gassee, CEO of Be, Inc.