Boost logo

Boost Users :

From: Дмитрий Архипов (grisumbras_at_[hidden])
Date: 2025-03-25 06:17:09


вт, 18 мар. 2025 г. в 00:12, Joost Kraaijeveld via Boost-users
<boost-users_at_[hidden]>:
>
> Hi,
>
> I try to compile Boost with MingW64 with ucrt64. I get warnings saying
> I should define _WIN32_WINNT with 0x0601 or higher and an error saying
> I must define USE_W32_SOCKETS.
>
> Is it possible to pass these on a command line to b2 or otherwise,
> without interfering with Boost's source?

For that you can use the "define" feature, e.g.

b2 define=USE_W32_SOCKETS

Also, see https://www.bfgroup.xyz/b2/manual/release/index.html#bbv2.overview.builtins.features
for the list of all standard features.(A "feature" is an unbound
property in B2 parlance).


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net