don't show both errors and warnings on undefined symbols