Community
Participate
Working Groups
It seems that the current implementation of options discovery for indexer is not very smart. It seems that it only honors: - those preprocessor definitions that are explicitly passed as preprocessor definitions on the relevant page in the project options editor - same for include directories. Desired behavior would be to *only* consider the *resultant* options string, the exact same that ends up actually passed to the compiler, i.e. after concatentation (including the freeform "Miscellaneous options" string), variable substitution *and* shell-substitution (e.g. `pkg-config --cflags mypackage`), and to *re-parse* that resultant string in order to *discover* options relevant to the indexer. Furthermore, this discovery process should be the *sole* direct provider of preprocessor options for the indexer. This will guarantee that the indexer will never miss stuff again even if the way options are specified gets extended or revamped someday.
(In reply to comment #0) > project options editor ^H^H^H^H^H^H^H dialog