Possibly uninitialized variable in include/bits/istream.tcc basic_istream::ignore

Paolo Carlini pcarlini@suse.de
Thu Jun 10 23:27:00 GMT 2004


Benjamin Kosnik wrote:

>FWIW, I think the correct fix would be
>
>int_type __c = __eof.
>  
>
Or whatever else: the warning is actually wrong, since entering
the loop _M_gcount == 0 && __n >= 0.

Paolo.



More information about the Libstdc++ mailing list