Delphi Error – E2396 Unsafe code only allowed in unsafe procedure

Delphi Compiler Error

E2396 Unsafe code only allowed in unsafe procedure

Reason for the Error & Solution

No further information is available for this error or warning.