Community
Participate
Working Groups
There is a setting in project properties->"C/C++ General"->Indexer->"Build configuration for the indexer" - set to "Use a fixed build configuration" by default. Project Explorer should use that preference to render build settings but it does not do so consistently. Here is the example borrowed but creatively changed from bug 247021: 0.Make sure the workspace preference (matching the property) set to fixed configuration. 1.Create Hello World C project. 2.Select a source file and change its compiler setting (to reproduce use Preprocessor -nostdinc flag). 3.If the resource decorator (overlay) doesn't appear in the Project Explorer refresh project manually (fixed just recently). 4.Change active configuration. The decorator doesn't change which is correct. 5.Manually refresh the file in Project Explorer. The decorator disappear matching active configuration instead of fixed configuration specified in indexer properties.
Created attachment 159596 [details] patch 1 Here is the patch. Committed on HEAD (7.0).
There is one issue I found but I think it deserves a separate bug 303358. Closing this task as fixed.