[Q] bootstrap bug on Solaris 2.6 with egcs 1.1.2 (fwd)

Johannes Behr jbehr@igd.fhg.de
Wed Mar 24 02:37:00 GMT 1999


HI

> > ../../../egcs-1.1.2/libio/isscan.cc:34: no matching function for call to
> > `streambuf::vscan (const char *&, void *&, istream *)'
> > ../../../egcs-1.1.2/libio/streambuf.h:403: candidates are:
> > streambuf::vscan(const char *, char *, ios *)
> 
> > I know it's a declaration mismatch but how and why ?
> 
> It's probably an error in _G_config.h.  What do you get with the
> following command?
> 
> grep va_list /space/src/egcs/optdir/sparc-sun-solaris2.6/libio/_G_config.h
> 
> The correct definition would be:
> 
> typedef void * _G_va_list;

what I get is:

typedef char* /* default */ _G_va_list;

> but it appears that you have:
> 
> typedef char * _G_va_list;

Can I fix the bug by just changing the line ?
  Johannes



More information about the Gcc-bugs mailing list