This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Errors Summary


On Mon, 11 May 2015, 18d53b+c826wv11dtfp8@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]