lilypond-devel
[Top][All Lists]
Advanced

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

Re: lily: fix some type conversion warnings (issue 557190043 by address@


From: David Kastrup
Subject: Re: lily: fix some type conversion warnings (issue 557190043 by address@hidden)
Date: Thu, 23 Jan 2020 22:11:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

address@hidden writes:

> In LilyPond, the bulk of the warnings come from unsigned 64 bit sizes,
> ie. vector and list sizes.
>
> In order to cause an error, you would have to create vector or list of
> over 2G of 
> elements (on 32 bit architecture), so the unsigned size would be
> converted to a negative integer. Since our objects 
> are all larger than a single byte, there isn't enough memory for this to
> be possible. (The same holds for 64 bit, 
> except that you can't buy machines with that much RAM)

Reality check: my laptop is something like 10 years old and holds 16GB
of RAM.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]