Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 13376 Details for
Bug 70252
GCCErrorParser unrecognized pattern
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
GCCErrorParser.diff.txt (text/plain), 1.76 KB, created by
PalmSource Eclipse Bug Tracker
on 2004-07-16 14:30:55 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
PalmSource Eclipse Bug Tracker
Created:
2004-07-16 14:30:55 EDT
Size:
1.76 KB
patch
obsolete
>--- src/org/eclipse/cdt/internal/errorparsers/GCCErrorParser.java 2004-07-06 17:02:32.939385800 -0700 >+++ src/org/eclipse/cdt/internal/errorparsers/GCCErrorParser.java 2004-07-06 16:48:25.663950200 -0700 >@@ -24,13 +24,17 @@ > // (b) > // filename:lineno:column: description > // >- // (b) >+ // (c) > // In file included from b.h:2, > // from a.h:3, > // from hello.c:3: > // c.h:2:15: missing ')' in macro parameter list > // >- // (c) >+ // (d) >+ // In file included from hello.c:3: >+ // c.h:2:15: missing ')' in macro parameter list >+ // >+ // (e) > // h.c: In function `main': > // h.c:41: `foo' undeclared (first use in this function) > // h.c:41: (Each undeclared identifier is reported only once >@@ -150,13 +154,28 @@ > } > > /* >+ * In file included from hello.c:3: >+ * c.h:2:15: missing ')' in macro parameter list >+ * >+ * We reconstruct the multiline gcc errors to multiple errors: >+ * c.h:2:15: missing ')' in macro parameter list >+ * hello.c:3: in inclusion c.h:2:15 >+ * >+ */ >+ if (line.startsWith("In file included from ")) { //$NON-NLS-1$ >+ // We want the last error in the chain, so continue. >+ eoParser.appendToScratchBuffer(line); >+ return false; >+ } >+ >+ /* > * In file included from b.h:2, > * from a.h:3, > * from hello.c:3: > * c.h:2:15: missing ')' in macro parameter list > * > * We reconstruct the multiline gcc errors to multiple errors: >- * c.h:3:15: missing ')' in macro parameter list >+ * c.h:2:15: missing ')' in macro parameter list > * b.h:2: in inclusion c.h:3:15 > * a.h:3: in inclusion b.h:2 > * hello.c:3: in inclusion a.h:3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
bjorn.freeman-benson
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 70252
: 13376