print warnings, as well