D_WIN32_WINNT compiler warning with Boost
Posted
by bobber205
on Stack Overflow
See other posts from Stack Overflow
or by bobber205
Published on 2010-06-08T18:38:24Z
Indexed on
2010/06/08
18:42 UTC
Read the original article
Hit count: 155
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!
1>Please 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.
© Stack Overflow or respective owner