Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visualizing gcc error messages

Tags:

gcc

Are there any programs which can be used to visualize error messages from gcc. I am imagining something which will allow interactively to collapse all those long template typenames, color code different parts of the error message and what not.

like image 242
Yogi Avatar asked Oct 01 '09 20:10

Yogi


2 Answers

I've used pretty make in the past. Not sure how it works with c++ template error messages, but it does help visualize compiler output in general.

Then there's also Color GCC, which does color error and warning messages from gcc. Probably not as advanced as you'd like it to be, but it may be something at least :)

like image 117
Isak Savo Avatar answered Jan 04 '23 06:01

Isak Savo


For long template errors, related to stl you can use stlfilt It's an error decryptor

like image 23
coelhudo Avatar answered Jan 04 '23 04:01

coelhudo