Boost C++ Libraries: Ticket #9076: "C" linkage boost::date_time::filetime_functions.hpp https://svn.boost.org/trac10/ticket/9076 <p> C standard does not know namespaces </p> <p> but dllimport functions are declared in boost::date_time::winapi namespace </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9076 Trac 1.4.3 Andrey Semashev Wed, 12 Mar 2014 16:36:26 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9076#comment:1 https://svn.boost.org/trac10/ticket/9076#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> The code is intentionally written that way. The imported functions are from kernel32.dll. They are declared in the namespace in order not to conflict with the definitions in windows.h. </p> Ticket