Hi,
Apologize if this is not the right place for this mail.
This program (it has been narrowed down from a larger program) always
crashes after compiled in vs2008 Release(Win32) mode under windows 7. I am
not familiar with assembly code and don't know it's a bug of compiler or
boost::ends_with or boost::asio::buffers_iterator. It can be compiled and
executed with g++ in Ubuntu without any problem.
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.
#include <iostream>#include <string>#include