mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-05 04:13:06 +00:00
std::streambuf in MSVC does not support buffers larger than 2**31 - 1: https://developercommunity.visualstudio.com/t/stdbasic-stringbuf-is-broken/290124 Simple test to check if it works: TEST(IMemStreamTest, shouldRead) { std::string src(std::numeric_limits<uint32_t>::max() / 2 + 1, '\0'); Files::IMemStream stream(src.data(), src.size()); std::string dst(src.size(), '\0'); stream.read(dst.data(), src.size()); EXPECT_FALSE(stream.fail()) << std::generic_category().message(errno); } |
||
|---|---|---|
| .. | ||
| bsa | ||
| detournavigator | ||
| esm | ||
| esm3 | ||
| esm4 | ||
| esmloader | ||
| esmterrain | ||
| files | ||
| fx | ||
| lua | ||
| misc | ||
| nif | ||
| nifloader | ||
| nifosg | ||
| resource | ||
| sceneutil | ||
| serialization | ||
| settings | ||
| shader | ||
| sqlite3 | ||
| toutf8 | ||
| vfs | ||
| CMakeLists.txt | ||
| main.cpp | ||