On Mon, 11 May 2015, 18d53b+c826wv11dt...@guerrillamail.com wrote: > Is there an option to print out a summary of line numbers with > errors/warnings? Example output: > > <All other error messages with template garbage> > main.cpp : 2, 3, 17 > lex.cpp : 4, 6, 8 > > I often don't need an error message to fix the error, so this would save > me much time.
I am not aware of such an option, and it would be too specific to add to GCC itself. You can, however, post-process the output of GCC using a scripting language of your choice to provide what you are looking for. Gerald