bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation errors with gcc 3.0.4


From: Thomas E. Dickey
Subject: Re: Compilation errors with gcc 3.0.4
Date: Mon, 15 Apr 2002 09:30:24 -0400 (EDT)

On Mon, 15 Apr 2002, Richard Peters wrote:

it's fixed in the rollup patch at

ftp://invisible-island.net/ncurses/5.2

> Hello,
>
> I tried to compile ncurses 5.2 with gcc 3.0.4, but I got compilation errors on
> c++/cursesw.cc, lines 55 and 77, stating that std::strstreambuf doesn't have a
> member vscan. I double checked the c++ standard, and gcc seems to be right on 
> this.
> My guess is that from version 3, gcc removed the non-standard function vscan 
> from
> std::strstreambuf.
> Would changing
>     strstreambuf ss(buf, sizeof(buf));
>     result = ss.vscan(fmt, (_IO_va_list)args);
> into
>     result = vsscanf(buf, fmt, args);
> fix the problem correctly? After this change, ncurses compiles, but I can't
> adequately test if the behaviour is the same.
>
> Thanks,
>
> Richard Peters
>
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses
>

-- 
T.E.Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]