Skip to content

Boost\libs\pool\test failed due to link error on MSVC #34

@QuellaZhang

Description

@QuellaZhang

Issue description:
Found Boost\libs\pool\test boostorg/boost@38d8e0e link error in a future release of MSVC. Could you please take a look?

Reproduce steps:

  1. git clone -c core.autocrlf=true --recursive ​https://github.com/boostorg/boost.git Boost\src
  2. open a VS 2017 x64 command prompt and browse to Boost\src
  3. .\bootstrap
  4. .\b2 headers variant=release --build-dir=..\out\x64rel address-model=64
  5. .\b2 variant=release --build-dir=..\out\x64rel address-model=64
  6. .\b2 -j4 variant=release --build-dir=..\out\x64rel libs\pool\test

ErrorMessage:
Creating library .\pool_msvc_compiler_bug_test.lib and object .\pool_msvc_compiler_bug_test.exp
pool_msvc_compiler_bug_test.obj : error LNK2019: unresolved external symbol "public: __cdecl boost::archive::codecvt_null<wchar_t>::codecvt_null<wchar_t>(unsigned __int64)" (??0?$codecvt_null@_W@archive@boost@@qeaa@_K@Z) referenced in function "public: void __cdecl boost::archive::codecvt_null<wchar_t>::`default constructor closure'(void)" (??_F?$codecvt_null@_W@archive@boost@@QEAAXXZ)
.\pool_msvc_compiler_bug_test.exe : fatal error LNK1120: 1 unresolved externals

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions