[Boost-bugs] [Boost C++ Libraries] #13600: Conflicting types for 'InitializeCriticalSection'

Subject: [Boost-bugs] [Boost C++ Libraries] #13600: Conflicting types for 'InitializeCriticalSection'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-06-14 06:43:12

#13600: Conflicting types for 'InitializeCriticalSection'
 Reporter: markus_bonk@… | Owner: Frank Mori Hess
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: signals2
  Version: Boost 1.66.0 | Severity: Problem
 Keywords: |
 When compiling with Visual C++ 2017 LLVM-vs2017 toolset (CLang), the
 following code produces "fatal error : conflicting types for

     #include <windows.h>
     #include <boost/signals2.hpp>
 The error happens at line 55 in


 which reads

 extern "C" __declspec(dllimport) void __stdcall
 InitializeCriticalSection(critical_section *);

 This bug is similar to https://svn.boost.org/trac10/ticket/12927

Ticket URL: <https://svn.boost.org/trac10/ticket/13600>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-06-14 06:48:36 UTC