Boost logo

Boost Users :

Subject: [Boost-users] C++/CLI and >=VS2015
From: liong_at_[hidden]
Date: 2018-12-11 20:06:14


Hello
Upgrading from Version 1.63, i pulled from git today and suddenly all my C++/CLI project refuse to compile with Visual Studio 2015 and above (i only have 2010, 2015 and 2017 available to test with).
I'm working with the master branch.
 
Here's a simple example:
<code>
#include <boost/thread.hpp>
int main(array<System::String ^> ^args)
{
    return 0;
}
</code>
 
VS2015 and above complain with
...\boost\boost\type_traits\detail\is_function_cxx_11.hpp(111): warning C4575: '__vectorcall' incompatible with the '/clr' option: converting to '__stdcall'
...\boost\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...)>'
...\boost\boost\type_traits\detail\is_member_function_pointer_cxx_11.hpp(125): warning C4575: '__vectorcall' incompatible with the '/clr' option: converting to '__stdcall'
on many lines in is_function_cxx_11.hpp and is_member_function_pointer_cxx_11.hpp

It worked with version 1.63 (here's a live example with VS2017 and boost 1.60: https://rextester.com/WWGR27505) and because of the fallback to cpp03 it still works with VS2010.
Am i missing something?
 
Thanks and
Best Regards
liong
 

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