Alex Rivera | Logout

Is there any way to get readable gcc error and warning output at the command line?

Asked 2009-03-17T23:27:02.203
25

For some long errors, the gcc output is dense and has lots of line-wrapping etc. Especially when errors are subtle, it can take me 10-30 seconds of squinting to parse it with my eyes.

I've taken to pasting this in an open code-editor window to get some basic syntax highlighting and enable reformatting with regex's.

Has anyone invented a more automated method?

Edit
Report

1 Answer

9

If your errors are template related, take a look at STLfilt:

answered 2009-03-17T23:32:01.130

Your Answer