Re: [Boost-users] boost::bind throws exception with VisualStudio
Peter Klotz wrote:
Cheenu Srinivasan wrote:
The following program throws a bad_function_call exception when compiled with VisualStudio 7.1. It happens with both boost-1.30.2 and boost_1_31_0_rc2. No problems when compiled with g++ 2.95.1 on solaris.
Tried it with VC++7.1 and Boost 1.30.2.
Compiles and runs without problems.
Hmm, tried it on someone else's PC with VisualStudio 7.1 and both 1.30.2 and boost_1_31_0_rc2 throw the exception there as well, so it isn't simply something in my environment. "About" reports the following version info (on all three PCs I've tried it on): Microsoft Development Environment 2003 -- Version 7.1.3088 Microsoft .NET Framework 1.1 -- Version 1.1.4322 Cheenu _________________________________________________________________ High-speed usersbe more efficient online with the new MSN Premium Internet Software. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1
On Wednesday 04 February 2004 11:00 am, Cheenu Srinivasan wrote:
Peter Klotz wrote:
Cheenu Srinivasan wrote:
The following program throws a bad_function_call exception when compiled with VisualStudio 7.1. It happens with both boost-1.30.2 and boost_1_31_0_rc2. No problems when compiled with g++ 2.95.1 on solaris.
Tried it with VC++7.1 and Boost 1.30.2.
Compiles and runs without problems.
Hmm, tried it on someone else's PC with VisualStudio 7.1 and both 1.30.2 and boost_1_31_0_rc2 throw the exception there as well, so it isn't simply something in my environment.
"About" reports the following version info (on all three PCs I've tried it on):
Microsoft Development Environment 2003 -- Version 7.1.3088 Microsoft .NET Framework 1.1 -- Version 1.1.4322
Are you compiling it as Managed C++ or native C++? Some feedback on the developer's list seems to say that it's a Managed C++ issue, which I can fix in CVS but not for 1.31.0. Doug
participants (2)
-
Cheenu Srinivasan
-
Douglas Gregor