I have a C program compiled by Visual Studio 17 successfully. I am converting some parts to C++ as a way of learning C++ -- beginning with using classes instead of structs, and constructors instead of separate initialization procedures. Although I now have a successfully compiled program, I had one strange compilation error that I am curious about.
That error complained about no_init_all in winnt.h. The frustrating thing is not having any idea what caused the error since my code does not include winnt.h (I assume some other included file includes it) nor does my code use no_init_all.
If possible, I would like to know the cause of the error in case I see it again.