how to work-around this "deprecation" error (return address of field of struct?)
Adam D. Ruppe
destructionator at gmail.com
Mon Aug 24 23:45:10 UTC 2020
On Monday, 24 August 2020 at 23:39:09 UTC, mw wrote:
> https://github.com/etcimon/windows-headers/issues/9
did you know most windows headers have been included with dmd for
a long time now?
Forget those old bindings and instead use the bundled ones.
import windows.winnt;
becomes
import core.sys.windows.winnt;
and then it all just works.
> how to work-around this issue?
you can also use the -d switch to dmd to allow the deprecations
but since the bundled headers are all up to date with this that's
really what i suggest.
More information about the Digitalmars-d
mailing list