Summary: | Consecutive "using" statements cause indexer warnings | ||
---|---|---|---|
Product: | [Tools] CDT | Reporter: | Julien Dubuc <perplx> |
Component: | cdt-parser | Assignee: | Andrew Niefer <aniefer> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Julien Dubuc
2004-07-09 14:32:16 EDT
I don't think its the using directive, I think it's something to do with endl. The problem was with the endl. It was a bug in the implementation of ANSI 7.3.3-5 "A using-declaration shall not name a template-id". (endl is a template function, but not in this case a template-id, which would look something like endl<int>) I've also fixed the error reporting around using declarations so when there is an error it will be "Invalid using directive/declaration" instead of the generic syntax error. Fix applied to HEAD and will be propagated to 2.0.1 branch at a later date. fix is now in 2.0.1 |