Boost logo

Boost Users :

Subject: Re: [Boost-users] FW: bug of boost algorithm library or boost asio?
From: kpzhang (sail4dream_at_[hidden])
Date: 2012-11-01 06:10:08


Hi Alex,
    Thanks for your reply.
To Igor:
    The exception type is 'Access Violation' raised in boost::ends_with
function.

Regards,
Ivan

2012/10/31 Alex Perry <Alex.Perry_at_[hidden]>

> Sorry forgot to add you to cc - it speeds up conversation if you are in
> digest mode for boost list!
>
> -----Original Message-----
> From: Alex Perry
> Sent: 31 October 2012 15:04
> To: 'boost-users_at_[hidden]'
> Subject: RE: [Boost-users] bug of boost algorithm library or boost asio?
>
> On 31 October 2012 09:05 kpzhang [mailto:sail4dream_at_[hidden]] wrote :-
>
> ...snip...
> >People said it's very unlikely to be compiler's bug, but when compiled in
> debug moded(or disable optimization), the problem does disappear.
> >I have been stuck with this problem for quite a few hours. Any help is
> appreciated. Thanks in advance.
> ...snip...
>
> Not sure if its any help but just tried compiling this with VS2010 and
> VS2012
>
> From VS command prompt (with boost version 1.51 pathed into include and
> lib)
>
> cl test.cpp /EHsc /O2
>
> and resulting test.exe is fine (with or without /O2)
>
> So does look like a problem with vs2008 specifically (sorry don't have one
> available to try any longer)
>
> Alex
>
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net