3 ms·
yeah, I'm thinking this might be more useful for c++ :)
by matthavener 17y ago
yeah, I'm thinking this might be more useful for c++ :)
- chancho 17y agoIn the meantime before clang fully supports C++ I would appreciate a flag for GCC that just gives me abbreviated error info: file.cpp:65: error: please have a look at this line and see if anything jumps out at you. as that is basically all GCC C++ errors are good for.
- nitrogen 17y agoSomething like this might work: g++ [options] | sed -e 's/^(.*: (error|warning):).*/\1 please have a look at this line and see if anything jumps out at you/'
- j_baker 17y agoI wouldn't hold out for any miracles. I think that there are several aspects of the language itself that will make improving error messages difficult. In particular, template error messages are probably without much hope.