Stop warning reporting after N warnings

Defines the maximum number of reported warnings. When set to zero, no limitation occurs.