Summary: | When working with C source using C++ keywords interferes with the outliner | ||
---|---|---|---|
Product: | [Tools] CDT | Reporter: | Daniel Thompson <daniel.thompson> |
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 NT | ||
Whiteboard: |
Description
Daniel Thompson
2004-07-02 12:12:16 EDT
Is the containing project a C or C++ project? What type of file (.h, .C, .cc etc.) contains this declaration? This problem manifested itself on a 'Standard C Make', the source file ended .c and I was using Eclipse 3.0 RC3 with CDT 2.0 M9. The problem no longer manifests itself using the overnight builds (I tested CDT 2.0 I20040628). Note that there were severe problems storing settings for this type of project in M9 (see bug 69147). I think it possible that this bug was, in fact, another manifestation of that problem. Using the 2.0 release, I created a new Standard C make project with a file named t.c, and the given code works fine in the outline view. The problem would be explained by the project telling the parser the wrong language for the file, which now seems to be working. |