This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Change to type std::streampos (was: Re: Compiling ACE with gcc-3.4 prerelease)
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: "Kellogg, Oliver, ADBM64" <Oliver dot Kellogg at sysde dot eads dot net>,"'Douglas C. Schmidt'" <schmidt at cs dot wustl dot edu>,"'libstdc++ at gcc dot gnu dot org'" <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 12 Mar 2004 15:56:30 +0100
- Subject: Re: Change to type std::streampos (was: Re: Compiling ACE with gcc-3.4 prerelease)
- References: <F5AFD56E32E8D21191090060974838B1050C13E8@ulm003.vs.dasa.de> <4051C9C8.9030004@suse.de>
Paolo Carlini wrote:
Yes: the above is currently completely false.
Sorry for becoming a little bit nervous when I read "the GNU folks
have to fix this"...
But please, try a current snapshot, a class type streampos is definitely
allowed by the standard and converting to a streamoff type is trivial:
streamoff(pos)
Moreover, as I said in my previous message, now, for the release,
streamoff is a plain signed integral type (64 bits wide).
Paolo.