Add line numbers to warnings