how to work-around this "deprecation" error (return address of field of struct?)

mw mingwu at gmail.com
Mon Aug 24 23:57:03 UTC 2020


On Monday, 24 August 2020 at 23:45:10 UTC, Adam D. Ruppe wrote:
> 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?

I didn't add that package myself, guess it's indirectly pulled in 
by some other packages.


>> 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.

I just tried add '-d' as it showed here: in both "Compile+Run" 
and "Compile+Debug"

https://rainers.github.io/visuald/visuald/GlobalOptions.html

And I did "Rebuild" the solution, but that error still there.



More information about the Digitalmars-d mailing list