Alpha problem

Jeffrey A Law law@upchuck.cygnus.com
Mon May 24 00:18:00 GMT 1999


What's the story on this.  We added that (*&@#$ typedef for the alpha into
egcs-1.1.2, then we started getting lots of these bug reports.

Can you look at this and fix it so that we can kill this problem once and
for all in gcc-2.95?

Thanks,
jeff

------- Forwarded Message

Sender:   owner-egcs-bugs@egcs.cygnus.com
From:     David Mazieres <dm@reeducation-labor.lcs.mit.edu>
To:       egcs-bugs@cygnus.com
Date:     Wed, 10 Mar 1999 20:49:55 -0500 (EST)
Subject:  1.1.2pre3 stdarg.h problems on Digital Unix

This should be an easy problem to fix.  I am using egcs 1.1.2pre3 on
Digital unix V4.0:

% gcc -v
Reading specs from /u/dm/OSF1/lib/gcc-lib/alphaev56-dec-osf4.0c/egcs-2.91.63/sp
ecs
gcc version egcs-2.91.63 19990224 (egcs-1.1.2 pre-release-3)

In the fixed include files generated by the egcs installation
proceedure, <stdio.h> includes <stdarg.h>, but <stdarg.h> does not
protect against multiple inclusion.  Thus, the following simple
program generates needless warnings:

#include <stdio.h>
#include <stdarg.h>

int
main (void)
{
  return 0;
}

% gcc vamult.c
In file included from /u/dm/OSF1/lib/gcc-lib/alphaev56-dec-osf4.0c/egcs-2.91.63
/include/stdarg.h:36,
                 from vamult.c:2:
/u/dm/OSF1/lib/gcc-lib/alphaev56-dec-osf4.0c/egcs-2.91.63/include/va-alpha.h:36
: warning: redefinition of `va_list'
/u/dm/OSF1/lib/gcc-lib/alphaev56-dec-osf4.0c/egcs-2.91.63/include/va_list.h:7: 
warning: `va_list' previously declared here

David

------- End of Forwarded Message



More information about the Gcc-bugs mailing list