VS 2017 15.9.4 /clr and boost 1.69

  • Thread starter Thread starter h_schmieder
  • Start date Start date
H

h_schmieder

Guest
Hello,

we have a C++/Cli project which uses a native C++ project.

This native project uses boost, so by including the headers of this native project in the CLI project, boost headers are also included.

With boost 1.68 the compiling works successfully with some warnings about boost::iostreams for the native project.

But with boost 1.69 the compile of the C++/CLI project fails


Error C2764
'C': template parameter not used or deducible in partial specialization 'boost::is_member_function_pointer<Ret(Args...)>'
...\include\boost\type_traits\detail\is_member_function_pointer_cxx_11.hpp 114

Warning C4561
'__fastcall' incompatible with the '/clr' option: converting to '__stdcall'
...\include\boost\type_traits\detail\is_member_function_pointer_cxx_11.hpp 120

Error C2953
'boost::is_member_function_pointer<Ret(__stdcall C::* )(Args...)>': class template has already been defined
...\include\boost\type_traits\detail\is_member_function_pointer_cxx_11.hpp 120

Warning C4575
'__vectorcall' incompatible with the '/clr' option: converting to '__stdcall'
...\include\boost\type_traits\detail\is_member_function_pointer_cxx_11.hpp 125



and so on.

Are there any project settings changes I can do to get it compiled with boost 1.69 ?

tia

Hendrik Schmieder

Continue reading...
 
Back
Top