
On Sun, Apr 15, 2012 at 12:55 PM, Daniel James <dnljms@gmail.com> wrote:
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
Compiling this with g++ 4.7 on Windows produces no console output with the following command line: g++ -c -Wall demo.cpp Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode