id summary reporter owner description type status milestone component version severity resolution keywords cc 12927 Conflicting types for 'InitializeCriticalSection' kaba Peter Dimov "When compiling with Visual C++ 2017 Clang/C2 v141_clang_c2 toolset, the following code produces ""fatal error : conflicting types for InitializeCriticalSection"": {{{ #include #include }}} The error happens at line 52 in http://www.boost.org/doc/libs/1_63_0/boost/smart_ptr/detail/lwm_win32_cs.hpp which reads {{{ extern ""C"" __declspec(dllimport) void __stdcall InitializeCriticalSection(critical_section *); }}}" Bugs closed To Be Determined smart_ptr Boost 1.63.0 Problem fixed