[IMP] check warnings only if asked