This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: possible va-alpha.h bug in DEC alpha gcc-2.95.1
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Re: possible va-alpha.h bug in DEC alpha gcc-2.95.1
- From: Blair Kelly III <bfkelly at afterlife dot ncsc dot mil>
- Date: Tue, 31 Aug 1999 12:01:51 -0400 (EDT)
I spoke (wrote) too quickly. My proposed solution (a change in
`va-alpha.h') for the problem I described does not work.
***************
#include <stdio.h>
#include <stdarg.h>
int foo(int f,...)
{
va_list args;
va_start(args, f);
}
***************
% gcc -c foo.c
foo.c:8: macro 'va_start' used with too many (2) args
***************
If you comment out the "stdio.h" line, the program will then compile.
Back to the drawing board!
Blair