[SyneRBI/SIRF] warnings on visual studio: please define _WIN32_WINNT or _WIN32_WINDOWS (#839)

205 views
Skip to first unread message

Kris Thielemans

unread,
Dec 24, 2020, 6:03:08 AM12/24/20
to SyneRBI/SIRF, Subscribed

Probably while compiling gadgetron_data_containers.cpp we get:

10>  Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:
10>  - add -D_WIN32_WINNT=0x0601 to the compiler command line; or
10>  - add _WIN32_WINNT=0x0601 to your project's Preprocessor Definitions.
10>  Assuming _WIN32_WINNT=0x0601 (i.e. Windows 7 target).

This seems to come from Boost ASIO., or another Boost library.

This is discussed at boostorg/asio#81 with suggested resolution to create a file setting this, and including it before including the boost file (see the targetver.h file, but would need a different name for us, or can stick this together with other Windows things)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Evgueni Ovtchinnikov

unread,
Jan 18, 2021, 9:54:45 AM1/18/21
to SyneRBI/SIRF, Subscribed

Closed #839 via 55b77ca.

Reply all
Reply to author
Forward
0 new messages