Title says it all, started a new project in VS2017, included <iostream>
, then when I went to include <Windows.h>
(This is my first attempt at working with this header by the way), I got the error saying: unknown attribute"no_init_all"
Any idea what might be causing this?
OK, putting those comments into an answer ...
This bug is fixed in VS 2019, but as per this answer, in VS 2017 you can use:
#define no_init_all deprecated
or even just:
#define no_init_all
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With