Lines 24-36
Link Here
|
24 |
// (b) |
24 |
// (b) |
25 |
// filename:lineno:column: description |
25 |
// filename:lineno:column: description |
26 |
// |
26 |
// |
27 |
// (b) |
27 |
// (c) |
28 |
// In file included from b.h:2, |
28 |
// In file included from b.h:2, |
29 |
// from a.h:3, |
29 |
// from a.h:3, |
30 |
// from hello.c:3: |
30 |
// from hello.c:3: |
31 |
// c.h:2:15: missing ')' in macro parameter list |
31 |
// c.h:2:15: missing ')' in macro parameter list |
32 |
// |
32 |
// |
33 |
// (c) |
33 |
// (d) |
|
|
34 |
// In file included from hello.c:3: |
35 |
// c.h:2:15: missing ')' in macro parameter list |
36 |
// |
37 |
// (e) |
34 |
// h.c: In function `main': |
38 |
// h.c: In function `main': |
35 |
// h.c:41: `foo' undeclared (first use in this function) |
39 |
// h.c:41: `foo' undeclared (first use in this function) |
36 |
// h.c:41: (Each undeclared identifier is reported only once |
40 |
// h.c:41: (Each undeclared identifier is reported only once |
Lines 150-162
Link Here
|
150 |
} |
154 |
} |
151 |
|
155 |
|
152 |
/* |
156 |
/* |
|
|
157 |
* In file included from hello.c:3: |
158 |
* c.h:2:15: missing ')' in macro parameter list |
159 |
* |
160 |
* We reconstruct the multiline gcc errors to multiple errors: |
161 |
* c.h:2:15: missing ')' in macro parameter list |
162 |
* hello.c:3: in inclusion c.h:2:15 |
163 |
* |
164 |
*/ |
165 |
if (line.startsWith("In file included from ")) { //$NON-NLS-1$ |
166 |
// We want the last error in the chain, so continue. |
167 |
eoParser.appendToScratchBuffer(line); |
168 |
return false; |
169 |
} |
170 |
|
171 |
/* |
153 |
* In file included from b.h:2, |
172 |
* In file included from b.h:2, |
154 |
* from a.h:3, |
173 |
* from a.h:3, |
155 |
* from hello.c:3: |
174 |
* from hello.c:3: |
156 |
* c.h:2:15: missing ')' in macro parameter list |
175 |
* c.h:2:15: missing ')' in macro parameter list |
157 |
* |
176 |
* |
158 |
* We reconstruct the multiline gcc errors to multiple errors: |
177 |
* We reconstruct the multiline gcc errors to multiple errors: |
159 |
* c.h:3:15: missing ')' in macro parameter list |
178 |
* c.h:2:15: missing ')' in macro parameter list |
160 |
* b.h:2: in inclusion c.h:3:15 |
179 |
* b.h:2: in inclusion c.h:3:15 |
161 |
* a.h:3: in inclusion b.h:2 |
180 |
* a.h:3: in inclusion b.h:2 |
162 |
* hello.c:3: in inclusion a.h:3 |
181 |
* hello.c:3: in inclusion a.h:3 |