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.