C ++ Boost Includes Error C4265

I have a problem with Boost.

When I try to enable fe:

#include <boost\algorithm\string\split.hpp> 

Build error with error:

 boost_1_54_0\boost\exception\exception.hpp(171): error C4265: 'boost::exception_detail::error_info_container' : class has virtual functions, but destructor is not virtual 1> instances of this class may not be destructed correctly" 

Any ideas?

This issue occurs both in Visual Studio 2010 and in 2012. I have already installed include paths in c / C ++ with additional include directories, as well as setting the option "Don't use Precompiled Headers" in the properties.

+4
source share

Source: https://habr.com/ru/post/1502397/


All Articles