Re: Building with Microsoft Visual C++ 2010
Posted by
Lutz v. Grafenstein-3 on
URL: http://quantlib.414.s1.nabble.com/Building-with-Microsoft-Visual-C-2010-tp8402p8416.html
there are some interesting remarks in
http://www.wilmott.com/messageview.cfm?catid=10&threadid=77900//Lutz
Am 23.06.2010 17:52, schrieb Luigi Ballabio:
> On Tue, 2010-06-22 at 15:27 +0200, Kim Kuen Tang wrote:
>
>> I recheck the error messages that i got when compiling ql1.0.1 with
>> msvc10. One error for example comes from the following piece of code
>> (ql\methods\montecarlo\lsmbasissystem.cpp(119)) :
>>
>> std::vector<boost::function1<Real, Array> > ret;
>> ret.push_back(bind(constant<Real, Real>(1.0),
>> bind(f_workaround, _1, 0, dim)));
>>
>> Here bind was found by adl in the namespace std, while it also exists
>> in
>> namespace boost. This results in name clash. It is of course not
>> difficult to correct the problem. You just need to add the namespace
>> boost:: before bind.
>>
>> Btw, the same problem exists also for boost::ref.
>>
> Ok, I see. Did you manage to compile under VC2010? Do you have a set of
> patches I can apply?
>
> Luigi
>
>
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users