Community
Participate
Working Groups
Often times, we are using the #ifdef directive in header files, as shown in the example zip file (a.h). These seem to pose a problem for the indexer. In the zipped example it does not realize that foo is not present for c.c. We often have the inverse problem: something is defined (in example by _A_SUBSYSTEM_) but the indexer fails to notice. This poses a severe problem for us, as it results in many wrong Semantic Errors detected by the indexer.
Created attachment 224619 [details] Example Eclipse project showing the problem
My understanding is that using the new "Index all header variants" option (bug 421289) should resolve things like this, but it does not seem to have an effect on this example.