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 17:23:07

Cristian Adam wrote:
> I have read that STLPort has support for large files but I haven't
> tested it.

I've tested the following program (VC8.0):

#include <streambuf>
#include <limits>
#include <iostream>

int main()
        using namespace std;
        cout << numeric_limits<streamsize>::max() << endl;

compiled with STLPort as:

        $ cl test.cpp /I stlport /link /libpath:lib

resulted in:

        $ test

While just a normal compilation:

        $ cl /EHsc test.cpp

resulted in:

        $ test

Hope this helps.


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