Opened 9 years ago
Closed 9 years ago
#9157 closed Bugs (fixed)
default_sink.cpp is missing a #if !defined(BOOST_LOG_NO_THREADS)
| Reported by: | Owned by: | Andrey Semashev | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | log |
| Version: | Boost Development Trunk | Severity: | Problem |
| Keywords: | Cc: |
Description
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
Note:
See TracTickets
for help on using tickets.

(In [85870]) Corrected compilation in single-threaded mode. Fixes #9157.