Hacker News new | ask | show | jobs
by chancho 5950 days ago
In 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.
1 comments

Something 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/'