On 09.10.20 12:19, Mike Kaganski wrote:
On 09.10.2020 13:09, Luboš Luňák wrote:
On Friday 09 of October 2020, Michael Stahl wrote:
...
On 09/10/2020 11:01, Michael Stahl wrote:
POSIX provides ssize_t for this purpose but likely it doesn't exist on
MSVC...
...
afaik the only relevant 32-bit platform left is Windows, and it's
already rather restricted with big files because of how it handles
embedded objects; you'll run out of VM at ~250 math formulas iirc, due
to wasteful implementation of native OLE.
so we could use a platform-dependent type for this and say, use 32-bit
platform at your own risk...
I'm not sure if that's me or you misunderstanding, but this is not
about
32bit Windows, it's about all Windows. Telling 90+% of our usebase to use
their platform at their own risk is probably a really bad idea, even
if that
platform is Windows >:).
That *would* be 32-bit-Windows-specific, *if* use (s)size_t, as Michael
suggested. (I agree with the type having different semantics, though.)
my actual suggestion was:
> is std::make_signed_t<size_t> an option?
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice