Boost logo

Boost :

Subject: Re: [boost] Boost.Logging 1.51 Using VS2012.
From: syvyi (alexander.svk_at_[hidden])
Date: 2013-01-09 07:18:55


That's partial result after compilation with Boost.Log under v1.

c:\program files
(x86)\boost\boost_1_51_0\boost\log\sources\global_logger_storage.hpp(136):
warning C4996: 'sprintf': This function or variable may be unsafe. Consider
using sprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
4> d:\visual studio 11.0\vc\include\stdio.h(357) : see declaration
of 'sprintf'
4> c:\program files
(x86)\boost\boost_1_51_0\boost\log\sources\global_logger_storage.hpp(122) :
while compiling class template member function 'void
boost::log_mt_nt5::sources::aux::logger_singleton<TagT>::init_instance(void)'
4> with
4> [
4> TagT=boost::log_mt_nt5::trivial::logger
4> ]
4> c:\program files
(x86)\boost\boost_1_51_0\boost\log\detail\singleton.hpp(43) : see reference
to function template instantiation 'void
boost::log_mt_nt5::sources::aux::logger_singleton<TagT>::init_instance(void)'
being compiled
4> with
4> [
4> TagT=boost::log_mt_nt5::trivial::logger
4> ]
4> c:\program files
(x86)\boost\boost_1_51_0\boost\log\trivial.hpp(100) : see reference to class
template instantiation
'boost::log_mt_nt5::sources::aux::logger_singleton<TagT>' being compiled
4> with
4> [
4> TagT=boost::log_mt_nt5::trivial::logger
4> ]
4> manster_logger.cpp
4>c:\program files
(x86)\boost\boost_1_51_0\boost\log\sources\channel_feature.hpp(190): error
C2248:
'boost::log_mt_nt5::sources::basic_logger<CharT,FinalT,ThreadingModelT>::operator
=' : cannot access private member declared in class
'boost::log_mt_nt5::sources::basic_logger<CharT,FinalT,ThreadingModelT>'
4> with
4> [
4> CharT=char,
4> FinalT=manster::logger::manster_logger_mt,
4>
ThreadingModelT=boost::log_mt_nt5::sources::multi_thread_model<boost::log_mt_nt5::aux::light_rw_mutex>
4> ]
4> c:\program files
(x86)\boost\boost_1_51_0\boost\log\sources\basic_logger.hpp(291) : see
declaration of
'boost::log_mt_nt5::sources::basic_logger<CharT,FinalT,ThreadingModelT>::operator
='
4> with
4> [
4> CharT=char,
4> FinalT=manster::logger::manster_logger_mt,
4>
ThreadingModelT=boost::log_mt_nt5::sources::multi_thread_model<boost::log_mt_nt5::aux::light_rw_mutex>
4> ]
4> This diagnostic occurred in the compiler generated function
'boost::log_mt_nt5::sources::basic_channel_logger<BaseT,ChannelT>
&boost::log_mt_nt5::sources::basic_channel_logger<BaseT,ChannelT>::operator
=(const boost::log_mt_nt5::sources::basic_channel_logger<BaseT,ChannelT> &)'
4> with
4> [
4>
BaseT=boost::log_mt_nt5::sources::basic_logger<char,manster::logger::manster_logger_mt,boost::log_mt_nt5::sources::multi_thread_model&lt;boost::log_mt_nt5::aux::light_rw_mutex>>,
4>
ChannelT=std::basic_string<char,std::char_traits&lt;char>,std::allocator<char>>
4> ]

--
View this message in context: http://boost.2283326.n4.nabble.com/Boost-Logging-1-51-Using-VS2012-tp4641144p4641164.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk