hxcs icon indicating copy to clipboard operation
hxcs copied to clipboard

You need to define 'unsafe' to be able to use unsafe code in hxcs in dotnet 5.0

Open lublak opened this issue 3 years ago • 0 comments

if you switch to -D net-ver=50 with only a main function you get an error:

C:\HaxeToolkit\haxe\std/cs/Pointer.hx:46: characters 8-75 : You need to define 'unsafe' to be able to use unsafe code in hxcs

I think if you don't work with unsafe, you shouldn't have to define unsafe. The issue may also belong to haxe itself.

lublak avatar Apr 14 '21 07:04 lublak