| Summary: | C/C++ Indexer report error for #error (valid pre-processor directive) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Sudarshan V <sudarshan.v> | ||||
| Component: | cdt-core | Assignee: | Project Inbox <cdt-core-inbox> | ||||
| Status: | RESOLVED INVALID | QA Contact: | Doug Schaefer <cdtdoug> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 8.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Sudarshan V
Created attachment 183901 [details]
Snapshot contains the location where IASTProblem is created for valid #error preprocessor directive
Snapshot contains the location where IASTProblem is created for valid #error preprocessor directive
The directive is valid syntax. However, when an #error directive is found in an active code-branch the program will not compile. Therefore, in such a situation, you do look at a problem that is worth being annotated. |