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

Bug#348117: g++-4.0: g++ upgrade broke ncurses c++ demo



On Sun, 15 Jan 2006, Falk Hueffner wrote:

Thomas Dickey <tom@invisible-island.net> writes:

    char buf[5];

[...]

The buf variable contains "Key01"

So 6 bytes. Does this still happen if you don't overrun buf?  Also,
can you send a complete test case?

ah.  I didn't see that (will check later today on my home machine).

I did list the case (ncurses 5.5, the c++ demo program, e.g,.
	ncurses-5.5/c++/demo.cc (along with lots of other code)

I'll check that buffer limit, which I agree should improve things.
(Last night I could only see that it had worked with everything
except g++ 4.0).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



Reply to: