This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc 3.0 & backward compatibility for libstdc++


> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]