gcc 3.0 & backward compatibility for libstdc++
Laurent Pinchart
laurent.pinchart@capflow.com
Sat Jun 23 07:13:00 GMT 2001
> I cannot believe, though I don't know it, that ncurses really insists on
> vscan.
From cursew.cc :
int
NCursesWindow::scanw(int y, int x, const char* fmt, ...)
{
#if defined(__GNUG__)
va_list args;
va_start(args, fmt);
char buf[BUFSIZ];
int result = wmove(w, y, x);
if (result == OK) {
result = wgetstr(w, buf);
if (result == OK) {
strstreambuf ss(buf, sizeof(buf));
result = ss.vscan(fmt, (_IO_va_list)args);
}
}
va_end(args);
return result;
#else
return ERR;
#endif
}
And no internal implementation of strstreambuf::vscan. And there's no
way in the configure process to prevent __GNUG__ from being defined.
Should I do it 'by hand' ? I'll lose some functionality then, and will
probably break the library.
Any help about how to install a libstdc++-v2 is still welcome :-)
Laurent Pinchart
More information about the Gcc-help
mailing list