more va_dcl problems

Jeffrey A Law law@cygnus.com
Mon Nov 9 09:54:00 GMT 1998


  In message < 199811081731.RAA00606@dilbert.med.uc.edu >you write:
  > 
  > Below is a test case that compiles fine on my SGI at work (using sgi
  > compilers).
  > 
  > #include <varargs.h>
  > 
  > main()
  > {
  > va_dcl
  > {
  > }
  > }   
  > 
  > On linuxppc using glibc 2.0.100 and egcs_1_1_branch from earlier this week
  > I get the following error.
  > 
  > testvarg.c: In function `main':
  > testvarg.c:5: parse error before `...'
  > 
  > Can we get this fixed in egcs_1_1_branch? It prevents xbl and xfig from
  > building.
The va_dcl has to appear before the initial curley.

jef



More information about the Gcc-bugs mailing list