mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-01 03:25:56 +02:00
* also disable range check where overflow check is disabled
git-svn-id: trunk@14852 -
This commit is contained in:
parent
0d098f2dba
commit
bc407ef6d3
@ -3459,6 +3459,10 @@ implementation
|
||||
{$ifopt Q+}
|
||||
{$define overflowon}
|
||||
{$Q-}
|
||||
{$endif}
|
||||
{$ifopt R+}
|
||||
{$define rangeon}
|
||||
{$R-}
|
||||
{$endif}
|
||||
if to_signed then
|
||||
begin
|
||||
@ -3481,6 +3485,10 @@ implementation
|
||||
{$ifdef overflowon}
|
||||
{$Q+}
|
||||
{$undef overflowon}
|
||||
{$endif}
|
||||
{$ifdef rangeon}
|
||||
{$R+}
|
||||
{$undef rangeon}
|
||||
{$endif}
|
||||
end
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user