Add support for reporting errors in the same style as gcc