Using Boost 1.43 and GCC 4.4.3, the following code
boost::bind(&SomeObject::memberFunc, this, _1));
Generates the following warning
boost/function/function_base.hpp:321: warning: dereferencing type-punned pointer will break strict-aliasing rules
What's the correct way to eliminate these warnings without setting -fno-strict-aliasing?