Boost logo

Boost :

Subject: Re: [boost] Boost.Logging 1.51 Using VS2012.
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-01-08 22:12:09


On January 9, 2013 2:53:36 AM syvyi <alexander.svk_at_[hidden]> wrote:
> Hello,
>
> my application which was successfully compiled on VS2010 brings the next
> errors using VS2012
>
> c:\program files
> (x86)\boost\boost_1_51_0\boost\log\sources\basic_logger.hpp(227): error
> C2664: 'std::pair<_Ty1,_Ty2>
> boost::log_mt_nt5::basic_attribute_set<CharT>::insert(const std::pair<const
> boost::log_mt_nt5::basic_slim_string<CharT>,boost::log_mt_nt5::basic_attribute_set<CharT>::mapped_type>
> )' : cannot convert parameter 1 from 'std::pair<_Ty1,_Ty2>' to 'const
> std::pair<_Ty1,_Ty2> &'
>
> What is the solution ?

I think I've seen this problem before. Did you try the version from
SVN, branches/v1?


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