mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Ignoring lines of error messages with "In file included from" in them.
This commit is contained in:
parent
cdf0095e70
commit
8823b5ba79
@ -296,6 +296,9 @@ public class Compiler implements MessageConsumer {
|
|||||||
// ignore cautions
|
// ignore cautions
|
||||||
if (s.indexOf("warning") != -1) return;
|
if (s.indexOf("warning") != -1) return;
|
||||||
|
|
||||||
|
// ignore this line; the real error is on the next one
|
||||||
|
if (s.indexOf("In file included from") != -1) return;
|
||||||
|
|
||||||
// jikes always uses a forward slash character as its separator,
|
// jikes always uses a forward slash character as its separator,
|
||||||
// so replace any platform-specific separator characters before
|
// so replace any platform-specific separator characters before
|
||||||
// attemping to compare
|
// attemping to compare
|
||||||
@ -324,7 +327,7 @@ public class Compiler implements MessageConsumer {
|
|||||||
partialStartIndex = s.indexOf(partialTempPath);
|
partialStartIndex = s.indexOf(partialTempPath);
|
||||||
if (partialStartIndex != -1) {
|
if (partialStartIndex != -1) {
|
||||||
fileIndex = i;
|
fileIndex = i;
|
||||||
System.out.println("fileIndex is " + fileIndex);
|
//System.out.println("fileIndex is " + fileIndex);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user