- Visual Studio 2022/MSVC (версия 19.40.33811)
- Boost (версия 1.85.0)
- ClangTidy (версия 17.0.3)
- CMake (версия 3.27.4)
- ninja (версия 1.11.0)
Код: Выделить всё
build\Windows\_deps\boost-src\libs\config\include\boost/config/auto_link.hpp:478:77:
error: pragma comment requires parenthesized identifier and optional string [clang-diagnostic-error]
478 | # pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME)
"-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT
BOOST_LIB_ARCH_AND_MODEL_OPT "-" BOOST_LIB_VERSION BOOST_LIB_SUFFIX)
| ^
note: expanded from macro 'BOOST_LIB_TOOLSET'
44749 warnings and 1 error generated.
Подробнее здесь: https://stackoverflow.com/questions/786 ... isual-stud