|
Boost Users : |
Subject: Re: [Boost-users] bug of boost algorithm library or boost asio?
From: Alex Perry (Alex.Perry_at_[hidden])
Date: 2012-10-31 11:04:25
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