Boost logo

Boost Users :

Subject: Re: [Boost-users] Errors with 1.69 when compiling with /clr on MSVC
From: John Maddock (jz.maddock_at_[hidden])
Date: 2018-12-29 18:14:56


On 29/12/2018 16:52, Stian Zeljko Vrba via Boost-users wrote:
>
> I get the following warning and error when compiling a C++/CLI file
> that includes boost 1.69.
>
>
> 1>c:\quinesoftwarebase\include\boost\type_traits\detail\is_member_function_pointer_cxx_11.hpp(114):
> error C2764: 'C': template parameter not used or deducible in partial
> specialization 'boost::is_member_function_pointer<Ret(Args...)>'
> 1>c:\quinesoftwarebase\include\boost\type_traits\detail\is_member_function_pointer_cxx_11.hpp(125):
> warning C4575: '__vectorcall' incompatible with the '/clr' option:
> converting to '__stdcall'
>
> Is there a workaround for this?
>

Lot's of code editing :(

Can you please file an issue on
https://github.com/boostorg/type_traits/issues and I'll try and get to
it shortly.

BTW I only see the warnings, not the error with msvc-14.1, which msvc
version are you using?

Best, John.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

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