Unknown compiler version while compiling Boost with MSVC 14.0 (VS 2015)

前端 未结 5 717
暗喜
暗喜 2020-12-07 18:29

I get \"Unknown compiler version - please run configure tests and report the results\" while attempting to compile Boost library on my computer.
I have most recent Boost

5条回答
  •  有刺的猬
    2020-12-07 19:11

    Now using the fully released version of msvc-14.0 (Visual Studio 2015), you can use this:

    #if (_MSC_VER > 1800 && _MSC_FULL_VER > 190023026)
    

    Is there any danger is this? Should we instead wait for the next release of Boost that has been officially edited to have this value?

提交回复
热议问题