$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] boost::exception_detail::error_info_base does not have virtual destructor
From: Jens Auer (jensa_at_[hidden])
Date: 2011-03-17 11:50:37
Hi,
I am compiling a project with a more strict warning set and got the following reports:
Error 29 error C4265: 'boost::exception_detail::error_info_base' : class has virtual functions, but destructor is not virtual c:\work\svn\sandbox\externals\boost\include\boost-1_45\boost\exception\detail\error_info_impl.hpp 36
Error 30 error C4265: 'boost::error_info<Tag,T>' : class has virtual functions, but destructor is not virtual c:\work\svn\sandbox\externals\boost\include\boost-1_45\boost\exception\detail\error_info_impl.hpp 69
IMHO these classes should have a virtual destructor as they are intended to be used as base classes.
Best wishes,
Jens