error management during compilation