D_WIN32_WINNT compiler warning with Boost
- by bobber205
Not sure what to make of this error. Added -D_WIN32_WINNT=0x0501 to Visual Studio's "Command Line" options under Project Properties but it says it doesn't recognize it and the warning still appears.
I am also not sure how to add the Preprocessor Definition. :)
Thanks for any help!
1Please define _WIN32_WINNT or
_WIN32_WINDOWS appropriately. For example: 1- add -D_WIN32_WINNT=0x0501
to the compiler command line; or 1-
add _WIN32_WINNT=0x0501 to your
project's Preprocessor Definitions.