Bug still in 3.0.1
David Rasmussen
pinkfloydhomer@yahoo.com
Fri Aug 24 14:22:00 GMT 2001
Hello there.
A month ago I submitted the following as a bug in gcc
3.0:
#include <iostream>
int main()
{
std::cout << std::cin.rdbuf()->in_avail() <<
std::endl;
return 0;
}
The bug is that instead of just writing 0, this
program hangs until some input is ready (pressing
enter normally), and then writes 0. According to the
standard (and common sense), this program should just
write 0 immediately and then exit.
This bug wasn't there in gcc 2.95.3, so why wasn't it
fixed in gcc 3.0.1, when the bug was discovered (and
acknowledged as such) a month ago?
David
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
More information about the Gcc
mailing list