Hi, Steve,
Hi, Stev,Thanks for your reply and help. I don't know. But I guess it might me the problem of the lib file I linked. I linked libboost_log-vc90-mt-1_55.lib file which is build on my machine.I will try another machine to see what goes wrong because all the example case for log failed on my machine.Again, Thanks a lot. I will let you know when it is done.Best regards,TristonOn Thu, Mar 20, 2014 at 10:30 AM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG
I can't reproduce this. I've tried (with 1.55)
On 03/19/2014 11:13 AM, Xiande Cao wrote:
> Here is where the program stops,
> In "formater_parser.cpp file
> const std::size_t len = end - begin;
> if (std::char_traits< char_type
>> ::length(constants::message_text_keyword()) == len &&
> std::char_traits< char_type
>> ::compare(constants::message_text_keyword(), begin, len) == 0)
> {
> m_AttrName = log::aux::default_attribute_names::message();
> }
> else
> {
> ???--> m_AttrName =
> attribute_name(log::aux::to_narrow(string_type(begin, end)));
> }
> }
>
cd libs\log\example\basic_usage
b2 variant=debug,release link=static,shared threading=single,multi
msvc-9.0express msvc-11.0/architecture=x86/address-model=32,64
and everything seems to be okay. (I changed the target
type from exe to unit-test so that it would run the example)
> <snip>
> Here is the call stack,
>> cvsie.exe!boost::log::v2s_mt_nt5::`anonymous
> namespace'::formatter_parser<char>::on_attribute_name(const char *
> begin=0x000000013f259a81, const char * end=0x000000013f259a8a) Line 359 +
> The error shows:Looks like a null pointer. Can you figure out which variable
> Unhandled exception at 0x000000013f146b63 in cvsie.exe: 0xC0000005: Access
> violation reading location 0x0000000000000070.
>
is null? It obviously isn't either of the arguments. What
about "this?"
In Christ,
Steven Watanabe
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users