mercredi 28 septembre 2016

VS 2013->2015 Project, Include

So we have a C++ project that was VS2013, and for various reasons we have to upgrade to VS2015. Not a big deal, grabbed the VS2015 libs and compile away. Except now every file that includes i get the following errors

Error C2672 'boost::range_detail::has_member_size_impl::f': no matching overloaded function found EthAgent c:\boost\boost_1_59_0\boost\range\detail\has_member_size.hpp 45

Error C2893 Failed to specialize function template 'UINT16 boost::range_detail::has_member_size_impl::f(...)' EthAgent c:\boost\boost_1_59_0\boost\range\detail\has_member_size.hpp 45

Error C2770 invalid explicit template argument(s) for 'UINT8 boost::range_detail::has_member_size_impl::f(boost::range_detail::has_member_size_impl::check *)' EthAgent c:\boost\boost_1_59_0\boost\range\detail\has_member_size.hpp 45

We use a bunch of other boost functions and those have no issue, i assume this has something to do with C++11 having threads now? But really i'm just grasping at straws.

If i remove the include, my code compiles fine.

Aucun commentaire:

Enregistrer un commentaire