On some platforms no RTE is triggered when an exception occurs in a try..except and sysutils is not used
<h3><details><summary>Original Reporter info from Mantis: <small>Bart @flyingsheep</small></summary><small>
- **Reporter name:** Bart Broersma
</small></details></h3>
## Description:
``` pascal
program Test;
{$apptype console}
{$ifdef fpc}
{$mode objfpc}
{$endif fpc}
{$R+}
var
Arr: array[1..2] of integer;
i: Integer;
begin
i:=5;
try
try
Arr[i] := 1;
except
writeln('Except block');
end;
finally
writeln('Finally block');
end;
end.
On Windows it will output:
Runtime error 201 at $004015F1
$004015F1
$00407307
```
On Linux and OS/2 it will output:<br/>
Except block<br/>
Finally block
All this with fpc 3.2.0, but confirmed with fpc trunk on the fpc-devel ML.
As discussed in the fpc-devel ML the behaviour on Windows is correct: If SysUtils is not included, run-time<br/>
error should be raised regardless from the try..except block
## Mantis conversion info:
- **Mantis ID:** 38201
- **OS:** Windows
- **OS Build:** 10
- **Platform:** i386
- **Version:** 3.2.0
- **Fixed in version:** 3.3.1
- **Fixed in revision:** 47775 (#2e2f2eb78467fd70d59196033a7197e9428f3992)
- **Monitored by:** » @xhajt03 (Tomas Hajny)
issue