You can push/pop a low level of warning, like this:
#pragma warning(push, 0)
#include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>
// ...
#pragma warning(pop)
But know that it's not possible to disable all warnings. For example, some linker warnings are impossible to turn off.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…