src/NoWarning/factory.h file

Include boost/functional/factory.hpp with turning off specific compiler warnings.