Re: calc: jumbo sheets on windows (never gonna happen)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08.10.20 21:13, Noel Grandin wrote:

As some point we are going to have to deal with this "long" stuff, it really is not a great thing to have one 64-bit platform operating at half the bit-size of the other platform.

Here is one option:

(a) create some new typedef, something like the old sal_Long, aliased to "long"
(b) replace "long" with typedef in stages (so no functional change).
(c) switch the typedef of sal_Long to point to sal_Int64 and fix fallout.

Then rolling back (even if temporarily) is easy and the "flag day" is a 2 line change.

POSIX provides ssize_t for this purpose but likely it doesn't exist on MSVC...

is std::make_signed_t<size_t> an option?
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux