
15 Apr
2012
15 Apr
'12
7:55 p.m.
On 15 April 2012 20:00, Emil Dotchevski <emildotchevski@gmail.com> wrote:
I'm pretty sure that this warning shouldn't be dealt with within the shared_ptr framework, since it does seem to refer specifically to the boost::error_info's destructor.
The issue isn't just in exception, the warning also occurs in the shared_ptr unit tests.
Does anyone have a simple cpp file and an exact g++ command line that triggers the warning?
demo.cpp: #include <boost/checked_delete.hpp> #include <boost/exception_ptr.hpp> Compiled with: g++-mp-4.7 -c -Wall -I $BOOST_ROOT demo.cpp g++-mp-4.7 is the g++ 4.7 executable on my computer. checked_delete.hpp is included before exception_ptr.hpp so that it isn't covered by exception's warning suppression.