
18 Nov
2008
18 Nov
'08
10:23 p.m.
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: D:\projects\STLport-5.1.7 $ cl test.cpp /I stlport /link /libpath:lib resulted in: $ test 9223372036854775807 While just a normal compilation: $ cl /EHsc test.cpp resulted in: $ test 2147483647 Hope this helps. Cheers, Cristian.