|
Boost Users : |
Subject: Re: [Boost-users] boost::thread liker error in Release mode
From: Igor R (boost.lists_at_[hidden])
Date: 2011-12-18 13:31:45
> ok when I check
> my function is member function and  don't rec any parameter
> I chenge the prolematic row to below.
> void StartThread()
> {
> pThread_ = new
> boost::thread(boost::bind(&RPCClientManagment::RunSendRequestStatus,this));
> }
> Â and this is function defintion
> void RunSendRequestStatus()
> {
> Â Â Â Â Â Â Â Â Â Â Â Â Â }
>
> this must work this so simple I can't found where is my mistake
> mybe in other place and this appear here ?
You wrote VC crashed in release mode only -- if you compile/link with
/LTCG flag, try to remove it.
Also ensure that all your libs and the main application are compiled
with consistent compiler flags (particularly, _SECURE_SCL).
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