Index: boost/logging/ts/ts.hpp =================================================================== --- boost/logging/ts/ts.hpp (Revision 40606) +++ boost/logging/ts/ts.hpp (Arbeitskopie) @@ -37,7 +37,7 @@ #else // no threads - #include + #include #endif Index: boost/logging/format/destination/rolling_file.hpp =================================================================== --- boost/logging/format/destination/rolling_file.hpp (Revision 40606) +++ boost/logging/format/destination/rolling_file.hpp (Arbeitskopie) @@ -103,7 +103,7 @@ template void write( const msg_type& msg) { convert_dest::write(msg, (*m_out) ); - if ( m_out->tellg() > m_flags.max_size_bytes()) { + if ( m_out->tellp() > m_flags.max_size_bytes()) { m_cur_idx = (m_cur_idx + 1) % m_flags.file_count(); recreate_file(); } @@ -138,7 +138,8 @@ rolling_file_t(const std::string & name_prefix, rolling_file_settings flags = rolling_file_settings() ) : non_const_context_base(name_prefix, flags) {} template void operator()( const msg_type & msg) const { - non_const_context::context().write(msg); + // error: ‘template struct boost::logging::manipulator::non_const_context’ used without template parameters + non_const_context >::context().write(msg); } bool operator==(const rolling_file_t & other) const { Index: boost/logging/format/formatter/time.hpp =================================================================== --- boost/logging/format/formatter/time.hpp (Revision 40606) +++ boost/logging/format/formatter/time.hpp (Arbeitskopie) @@ -23,6 +23,7 @@ #include #include +#include // is_generic #include #include Index: boost/logging/format/formatter/thread_id.hpp =================================================================== --- boost/logging/format/formatter/thread_id.hpp (Revision 40606) +++ boost/logging/format/formatter/thread_id.hpp (Arbeitskopie) @@ -22,6 +22,9 @@ #endif #include +#include // do_convert_format +#include // is_generic +#include // std::basic_ostringstream namespace boost { namespace logging { namespace formatter { Index: boost/logging/format/formatter/defaults.hpp =================================================================== --- boost/logging/format/formatter/defaults.hpp (Revision 40606) +++ boost/logging/format/formatter/defaults.hpp (Arbeitskopie) @@ -24,6 +24,7 @@ #include #include #include +#include // std::basic_ostringstream #include #include Index: boost/logging/format/array.hpp =================================================================== --- boost/logging/format/array.hpp (Revision 40606) +++ boost/logging/format/array.hpp (Arbeitskopie) @@ -22,6 +22,7 @@ #include #include +#include namespace boost { namespace logging { Index: boost/logging/detail/manipulator.hpp =================================================================== --- boost/logging/detail/manipulator.hpp (Revision 40606) +++ boost/logging/detail/manipulator.hpp (Arbeitskopie) @@ -28,6 +28,10 @@ #include #include +#include +#include // BOOST_LOGGING_FORWARD_CONSTRUCTOR_WITH_NEW +#include +#include namespace boost { namespace logging { Index: boost/logging/writer/on_dedicated_thread.hpp =================================================================== --- boost/logging/writer/on_dedicated_thread.hpp (Revision 40606) +++ boost/logging/writer/on_dedicated_thread.hpp (Arbeitskopie) @@ -23,6 +23,8 @@ #include #include +#include // boost::logging::manipulator + #include #include #include Index: boost/logging/writer/ts_write.hpp =================================================================== --- boost/logging/writer/ts_write.hpp (Revision 40606) +++ boost/logging/writer/ts_write.hpp (Arbeitskopie) @@ -70,8 +70,8 @@ @sa on_dedicated_thread */ - template struct ts_write : base_type, non_const_context { - typedef non_const_context non_const_context_base; + template struct ts_write : base_type, manipulator::non_const_context { + typedef manipulator::non_const_context non_const_context_base; BOOST_LOGGING_FORWARD_CONSTRUCTOR(ts_write,base_type) Index: boost/logging/writer/format_write.hpp =================================================================== --- boost/logging/writer/format_write.hpp (Revision 40606) +++ boost/logging/writer/format_write.hpp (Arbeitskopie) @@ -23,6 +23,7 @@ #include #include +#include // format_and_write::simple namespace boost { namespace logging { @@ -118,7 +119,7 @@ template< class formatter_base, class destination_base, - class apply_format_and_write = boost::logging::format_and_write::simple, + class apply_format_and_write = format_and_write::simple, class router_type = msg_route::simple , class formatter_array = array::shared_ptr_holder , class destination_array = array::shared_ptr_holder >