Boost C++ Libraries: Ticket #9157: default_sink.cpp is missing a #if !defined(BOOST_LOG_NO_THREADS) https://svn.boost.org/trac10/ticket/9157 <p> When building the trunk (23.09.2013) using VS 2013 RC, the Compiler complained about the type thread::id in line 38. From the context in the remainder of the file, it is clear IMHO, that this declaration needs to be embraced with a conditional define: </p> <pre class="wiki">#if !defined(BOOST_LOG_NO_THREADS) namespace aux { // Defined in thread_id.cpp void format_thread_id(char* buf, std::size_t size, thread::id tid); } // namespace aux #endif </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9157 Trac 1.4.3 Andrey Semashev Tue, 24 Sep 2013 18:12:56 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9157#comment:1 https://svn.boost.org/trac10/ticket/9157#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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85870" title="Corrected compilation in single-threaded mode. Fixes #9157.">[85870]</a>) Corrected compilation in single-threaded mode. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9157" title="#9157: Bugs: default_sink.cpp is missing a #if !defined(BOOST_LOG_NO_THREADS) (closed: fixed)">#9157</a>. </p> Ticket