未知编译器版本在MSVC 15.3.3上进行编译时(vs 2017)



这里有一个类似的问题,因此答案可能可以合并或其他。

我正在使用最新的Visual Studio 2017构建,当我使用Boost库进行编译时,我会收到警告。提出警告的代码:

//
// last known and checked version is 19.10.25017 (VC++ 2017):
#if (_MSC_VER > 1910)
#  if defined(BOOST_ASSERT_CONFIG)
#     error "Unknown compiler version - please run the configure tests and report the results"
#  else
#     pragma message("Unknown compiler version - please run the configure tests and report the results")
#  endif
#endif

我的计算机_MSC_VER1911。我正在使用最新的 1.65 boost 的版本。这很容易解决吗?

谢谢。

只是让所有人都知道最新版本 1.65.1 解决此问题:

http://www.boost.org/users/history/version_1_65_1.html

最新更新