Boost logo

Boost Users :

Subject: Re: [Boost-users] [iostreams?] Working with files larger than 4gb.
From: Cristian Adam (cristian.adam_at_[hidden])
Date: 2008-11-18 16:26:40

Raindog wrote:
> To my surprise, the implementation of the STL shipped with VC9 does not
> support files larger than 4GB. I was pretty surprised and couldn't find
> anything on the web to the contrary. So I was wondering if boost has any
> hidden libraries that might assist in solving my problem.
> Thanks.

According to std::numeric_limits<std::streamsize>::max(), on VC9 (true
also on Codegear 6.10, MinGW 4.3.2) 2GB is the largest file size supported.

I have read that STLPort has support for large files but I haven't
tested it.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at