[Gambas-user] Possible error when doing math on bytes

Brian G brian at westwoodsvcs.com
Tue Jan 10 22:48:22 CET 2023


>>>> I just compiled Gambas on an Ubuntu 20.04.5 LTS (the system Mint 20.3 is
>>>> based on), and there is no support for detecting overflow in its version
>>>> of gcc, and indeed overflow is not detected.
>>>> 
>>>> So in which code exactly do you have an overflow error?
>>>> 
>>> 
>>> I fixed overflow detection support, it is now enabled when gcc version
>>> is at least 8, and so it is now enabled on Ubuntu 20.04.5 LTS and Mint 20.3.
>>> 
>>> Regards,
>>> 
>>> --
>>> Benoît Minisini.

With latest build, both 20.3 and 21.1 work in the same way, looks good.

Should pointers not behave in the same way?

Thank you Benoît I am greatful for your work and help.


More information about the User mailing list