вт, 18 мар. 2025 г. в 00:12, Joost Kraaijeveld via Boost-users <boost-users@lists.boost.org>: > > 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 mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users