Done by using the disable_warnings.h and reenable_warnings.h headers. In some cases also a little reordering of includes, to put all boost includes in the warning-suppressed part.