Hey Jin,

Welcome.

> I'm Jin Li trying to attend GSoC. I try to compile the library with Visual
> Studio 2015, there is an error raised.
> 
> In merge.hpp, Line 682, my compiler raise error C3489. I checked on VS
> document, it says: When you specify that the default capture mode for a
> lambda expression is by-value, you cannot pass a variable by value to the
> capture clause of that expression.
> 
> So I just change
> "[=,HPX_CAPTURE_FORWARD(comp),HPX_CAPTURE_FORWARD(proj)] "to "[=]" and the
> compilation is success. Will it lead to problems? And should I open an
> issue on Github?

Nothing bad will happen for you. This is a compiler problem that should go away 
if you update to VS2017 (which I'd suggest you do in any case).

HTH
Regards Hartmut
---------------
http://boost-spirit.com
http://stellar.cct.lsu.edu



_______________________________________________
hpx-users mailing list
hpx-users@stellar.cct.lsu.edu
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to