[Gambas-user] Inconsistency with integer overflow detection

Benoit Minisini benoit.minisini at gambas-basic.org
Sun Dec 11 09:43:13 CET 2022


Le 11/12/2022 à 04:18, Jussi Lahtinen a écrit :
> $ gbx3 -e "CShort(100000)"
> -31072
> 
> But inside a project "Debug CShort(100000)" yields 100000.
> 
> 
> Jussi
> 

It correctly raises overflow here.

Can you give details about your system? Distribution and 'gcc' version 
especially.

Thanks.

-- 
Benoît Minisini.



More information about the User mailing list