CyberShadow / win32

3 stars 0 forks source link

Deprecation: cannot access `@system` variable `h_addr_list` in @safe code #1

Open Bizarrus opened 1 week ago

Bizarrus commented 1 week ago

Adding dependency win32 ~>2.100.2

I'be got following Deprecation-error:

[!CAUTION] C:/Users/<user>/AppData/Local/dub/packages/win32/2.100.2/win32/src/win32/winsock2.d(701,16): Deprecation: cannot access @system variable h_addr_list in @safe code C:/Users/<user>/AppData/Local/dub/packages/win32/2.100.2/win32/src/win32/winsock2.d(701,16): Deprecation: cannot access @system field hostent.h_addr_list in @safe code

How i can fix these?

CyberShadow commented 1 week ago

Oh, I guess this needs an update to pull Druntime from the DMD repository following the move.