Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse CDT doesn't clear errors from previous builds

Since upgrading to Eclipse Juno (Eclipse CDT 6), I've noticed that, when I do a "make" for my makefile projects, errors from previous builds such as the following don't get cleared from my "Problems" list:

make: *** [Debug] Error 2
make[1]: *** [util.o] Error 1
make[1]: *** [record.o] Error 1

The individual compiler error messages from previous builds are cleared just fine, but the final, summary error messages that make prints whenever it encounters any errors are not.

How do I get Eclipse to clear these errors as well?

like image 221
Josh Kelley Avatar asked Aug 24 '12 12:08

Josh Kelley


1 Answers

Apparently Eclipse CDT 6 has introduced a new Make parser. To start using it:

  • Go under Project, under Options.
  • Go under the C++ Build category, under Settings.
  • Under the Error Parsers tab, uncheck "CDT GNU Make Error Parser 6.0 (Deprecated)" and check "CDT GNU Make Error Parser 7.0."
  • Right-click on any remaining error messages from previous builds under the GNU Make Error Parser 6.0 and manually delete them.
like image 78
Josh Kelley Avatar answered Nov 10 '22 00:11

Josh Kelley