id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12233,boost::regex doesn't compile with clang on windows,İsmail Dönmez ,John Maddock,"Trying to compile a simple example: {{{ #include #include #include int main() { std::string s = ""Boost Libraries""; boost::regex expr{""\\w+\\s\\w+""}; std::cout << std::boolalpha << boost::regex_match(s, expr) << '\n'; } }}} with {{{ latte ~\Desktop > clang-cl /D_CRT_SECURE_NO_WARNINGS /MT -I C:\boost-1.61.0 .\b2.cpp C:\boost-1.61.0\lib64-msvc-14.0\lib boost_regex-vc140-mt-s-1_61.lib b2-807015.obj : error LNK2019: unresolved external symbol ""public: bool __cdecl boost::re_detail_106100::abstract_protected_call::execute(void)const "" (?execute@abstract_protected_call@re_detail_106100@boost@@QEBA_NXZ) referenced in function ""private: bool __cdecl boost::re_detail_106100::perl_matcher > >,class std::allocator > > > >,struct boost::regex_traits > >::protected_call(bool (__cdecl boost::re_detail_106100::perl_matcher > >,class std::allocator > > > >,struct boost::regex_traits > >::*)(void))"" (?protected_call@?$perl_matcher@V?$_String_const_iterator@V?$_String_val@U?$_Simple_types@D@std@@@std@@@std@@V?$allocator@U?$sub_match@V?$_String_const_iterator@V?$_String_val@U?$_Simple_types@D@std@@@std@@@std@@@boost@@@2@U?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@re_detail_106100@boost@@AEAA_NP8123@EAA_NXZ@Z) b2.exe : fatal error LNK1120: 1 unresolved externals clang-cl.exe: error: linker command failed with exit code 1120 (use -v to see invocation) }}} This is also reproducible with clang.exe. Test system is Windows 10 x64.",Bugs,closed,Boost 1.64.0,regex,Boost 1.61.0,Problem,fixed,,