calc: jumbo sheets on windows (never gonna happen)

Noel Grandin noelgrandin at gmail.com
Wed Oct 7 16:14:07 UTC 2020


On Wed, 7 Oct 2020 at 16:51, Luboš Luňák <l.lunak at collabora.com> wrote:

> On Tuesday 06 of October 2020, Noel Grandin wrote:
> > Honestly, the only solution I can think of (and one I confidently expect
> us
> > to reject), is that we declare a flag day, and search and replace
> > sal_Long/sal_uLong/long/unsigned long with a 64-bit type across the
> ENTIRE
> > code base.
>
>  Does it really need to be this extensive though? E.g. VCL should be more
> or
> less safe from this, I think trying any drawing with >32bit sizes is
> simply
> not going to work one way or another.
>
>
We extensively use shared types like tool::Rectangle in sc.

>  Also, how realistic of a solution would be to compile with the
> undefined-behaviour sanitizer and make it fail on overflows as a way to
> get a
> decent enough coverage of the problematic areas?
>
>
If you can get that working under Windows, sure, that could help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20201007/8d57cb94/attachment.htm>


More information about the LibreOffice mailing list