Boost logo

Boost Users :

Subject: Re: [Boost-users] Why can I not put a break in this part of asio sample code?
From: Ozgur Ozturk (ozgur7_at_[hidden])
Date: 2009-07-13 08:27:20


Hi,
> Probably, you compile in release mode (i.e. with optimisations).
Thanks, Yes, you are right. I tried to compile in debug mode but I have a
problem.
What change is needed?

Here is what Visual Studio complains:
Compiling...
cl : Command line warning D9025 : overriding '/MDd' with '/MD'
infobayserver.cpp
Using the /RTC option without specifying a debug runtime will lead to linker
errors
Hint: go to the code generation options and switch to one of the debugging
runtimes
c:\program files\boost\boost_1_38\boost\config\auto_link.hpp(106) : fatal
error C1189: #error : "Incompatible build options"
Build log was saved at "file://c:\Documents and Settings\oozturk7\My
Documents\Visual Studio 2008\Projects\InfobayServer\Debug\BuildLog.htm"
InfobayServer - 1 error(s), 1 warning(s)

I have installed boost libraries and headers using the installer from:
http://www.boostpro.com/download
I chose both multithread and multithread debug downloads.
(I have four versions of most libraries, ex:
libboost_serialization-vc90-mt-1_38.lib,
libboost_serialization-vc90-mt-gd-1_38.lib,
libboost_serialization-vc90-mt-s-1_38.lib,
libboost_serialization-vc90-mt-sgd-1_38.lib)

Best regards,
Ozgur (Oscar) Ozturk
www.DrOzgur.com
+1 (614) 805-4370

On Mon, Jul 13, 2009 at 4:22 AM, Igor R <boost.lists_at_[hidden]> wrote:

> > I tried to break at the point calling this function and step into from
> > there.
> > it jumps to async_receive(...) function in win_iocp_socket_service.hpp
> file.
>
>
> Probably, you compile in release mode (i.e. with optimisations).
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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