This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: tellg modifying the state of an input file stream
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Ivan Kolev <ikolev at abac dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 22 May 2006 17:57:12 +0200
- Subject: Re: tellg modifying the state of an input file stream
- References: <1148253544.10311.ezmlm@gcc.gnu.org> <4471DD0B.8040004@abac.com>
Ivan Kolev wrote:
First, where's MinGW on that picture? Second, if the picture's right
and my simple test case works correctly with MSVCRT (in the FILE*
case, both with MinGW/GCC 3.4.5 and VC2005) and Dinkumware (in the
streams case on VC2005), then doesn't this lead again to libstdc++ ?
Ivan---
Why are you having so much trouble with this issue? It's all pretty
clear, as far as C++ is concerned, at least: you can either implement a
MingW-specific layer of the C++ library interfacing with the ""broken""
MSVCRT, as pointed out by Danny Smith; or, alternately, go the CygWin
route and provide a ""sane"" C library to go with a standard C++ library.
In both cases, the issue doesn't belong anymore to this list, unless
someone is willing to post the MingW bits along the lines pointed out by
Danny. Ok?
Paolo.