Summary: | StringIndexOutOfBoundsException in GCCScannerInfoConsoleParser | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] CDT | Reporter: | Sergey Prigogin <eclipse.sprigogin> | ||||
Component: | cdt-build | Assignee: | Anton Leherbauer <aleherb+eclipse> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | alexsli06, cdtdoug | ||||
Version: | 4.0 | Keywords: | contributed | ||||
Target Milestone: | 4.0 RC3 | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Sergey Prigogin
2007-05-08 22:30:16 EDT
Do you have some sample build output which would show the error (to create a test case)? Here is code that triggers the exception: #include <sstream> #include <string> static void f() { ostringstream a; string b; a << "Missing closing quote << b; } Created attachment 69874 [details]
Proposed fix
Please apply.
Thanks Sergey, I have applied your patch and created a test case: ScannerConfigConsoleParserTests.testParsingUnbalancedDoubleQuote_Bug186065 *** Bug 190334 has been marked as a duplicate of this bug. *** |