Boost logo

Boost Users :

From: Cheenu Srinivasan (cheenu_srinivasan_at_[hidden])
Date: 2004-02-04 11:57:47


Douglas Gregor wrote:
>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.

You're right. If I build it using the IDE as a .NET project (created using
"File | New | Projects | Visual C++ Projects | .NET | Empty Project (.NET)"
then I have this problem. It works fine when I build it with my own
makefile. Thanks.

_________________________________________________________________
Find high-speed ‘net deals — comparison-shop your local providers here.
https://broadband.msn.com


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