[Boost-bugs] [Boost C++ Libraries] #9157: default_sink.cpp is missing a #if !defined(BOOST_LOG_NO_THREADS)

Subject: [Boost-bugs] [Boost C++ Libraries] #9157: default_sink.cpp is missing a #if !defined(BOOST_LOG_NO_THREADS)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-24 09:01:40


#9157: default_sink.cpp is missing a #if !defined(BOOST_LOG_NO_THREADS)
--------------------------------------+---------------------
 Reporter: Frank Heimes <drfghde@…> | Owner: andysem
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
--------------------------------------+---------------------
 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:

 {{{
 #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
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9157>
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 : 2017-02-16 18:50:14 UTC