Give all fatals, errors, and warnings unique diagnostic codes