mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
bug 307365: Problems with make error parser, incorrectly matches gcc messages
This commit is contained in:
parent
56a2799dc0
commit
4edfcba20a
2 changed files with 4 additions and 3 deletions
|
@ -57,8 +57,9 @@ public class MakeErrorParserTests extends GenericErrorParserTests {
|
|||
"Makefile4:10: *** commands commence before first target. Stop.",
|
||||
"Makefile5:10: *** Recursive variable 'VAR' references itself (eventually). Stop.",
|
||||
"Makefile6:10: *** target pattern contains no `%'. Stop.",
|
||||
// Ignored
|
||||
"mytest.cpp:19: warning: unused variable 'i'", // do not intercept compiler warnings
|
||||
// Ignored. Do not intercept compiler warnings
|
||||
"mytest.cpp:19: warning: unused variable 'i'",
|
||||
"hello.c:14:17: error: foo.h: No such file or directory",
|
||||
};
|
||||
private static final int GMAKE_ERROR_STREAM1_WARNINGS = 2;
|
||||
private static final int GMAKE_ERROR_STREAM1_ERRORS = 5;
|
||||
|
|
|
@ -270,7 +270,7 @@
|
|||
<pattern description-expr="$0" eat-processed-line="true" file-expr="" line-expr="" regex=".*make.*: Target (.*) not remade because of errors." severity="Error"/>
|
||||
<pattern description-expr="make: $3" eat-processed-line="true" file-expr="$1" line-expr="$2" regex="(.*[Mm]akefile):(\d*): warning: (.*)" severity="Warning"/>
|
||||
<pattern description-expr="$0" eat-processed-line="true" file-expr="" line-expr="" regex=".*make.*\[.*\] Error [-]{0,1}\d*.*" severity="Warning"/>
|
||||
<pattern description-expr="make: $3" eat-processed-line="true" file-expr="$1" line-expr="$2" regex="(.*):(\d*): (.*No such file or directory)" severity="Warning"/>
|
||||
<pattern description-expr="make: $3" eat-processed-line="true" file-expr="$1" line-expr="$2" regex="(.*):(\d*): (\S*: No such file or directory)" severity="Warning"/>
|
||||
<pattern description-expr="$0" eat-processed-line="true" file-expr="" line-expr="" regex=".*make.*: Circular .* dependency dropped." severity="Warning"/>
|
||||
</errorparser>
|
||||
</extension>
|
||||
|
|
Loading…
Add table
Reference in a new issue