print warnings as they occur