The -unsafe compiler option allows code that uses the unsafe keyword to compile.
For more information about unsafe code, see Unsafe Code and Pointers.
1.Open the project's Properties page.
2.Click the Language property page.
3.Set the Allow Unsafe Code property in the General Section
4.Click here to see the property page
Compile in.prg for unsafe mode:
xsc -unsafe in.prg