Usage of old Boost 1.60.0 will be incompatible with Visual Studio 2022 17.11
Hi, I work on Microsoft's C++ Standard Library implementation, and we regularly build popular open-source projects, including Mars, with development builds of our compiler and libraries. This allows us to find and fix regressions before they ship and cause problems for you. This also allows us to provide advance notice of breaking changes, which is the case here.
I recently merged microsoft/STL#4606 (expected to ship in Visual Studio 2022 17.11 Preview 2) which removed a non-Standard macro and member function. Old versions of Boost used this machinery, but we worked with them to get Boost fixed, and this happened over 5 years ago.
However, I observe that Mars is using a very old version of Boost from before it was fixed - Boost 1.60.0 which shipped on 2015-12-17 according to Boost Version History:
https://github.com/Tencent/mars/blob/6c71f72ff770f8a2b111ef27f1ccf72511801bbd/mars/boost/version.hpp#L30
Can you update your copy of Boost, which will both fix this specific issue and pick up years of correctness and performance improvements? The first fixed version was Boost 1.69.0 which shipped on 2018-12-12, but it would be best to upgrade to the latest release, Boost 1.85.0 shipped on 2024-04-15.
Current boost old version compile warning: Unknown compiler version - please run the configure tests and report the results