Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Question about Bug 568957 (Header indexed with missing significant macros on multiple)

Hi folks,

The spam control in the mailing lists is a very annoying problem, tracked here  Bug 522316 - there is a possible workaround in Comment 4 for gmail.

Fortunately, Jeff did see Michael's email and the change has been reviewed and merged.


Jonah Graham
Kichwa Coders

On Tue, 2 Feb 2021 at 07:55, Marco Syfrig <marco.syfrig@xxxxxxxxx> wrote:
fyi @Michael: I often have your emails flagged as spam because "Gmail could not verify that it actually came from"

I guess this also happens with other mail service providers that they flag it as spam. and thus you will not reach most people that could help you.

On Thu, Jan 21, 2021, 12:05 Michael Uhl (CTR) <Michael.Uhl@xxxxxxxxxxxx> wrote:

Dear CDT team,

the reason why I contact you is Bug 568957 (


If a header file is already indexed for a translation unit and found again it needn’t be indexed again and

is therefore skipped. But the significant macros with which the header file are still needed and

should not be omitted. The current behavior which skips the significant macros is in this way

incorrect if our analysis is correct.


We have a huge code base and make use of macros a lot. We see thousands of false error messages

In our code because of this issue. We have already created a fix for this issue: . The changes are straight forward

and they are tested against our codebase. The speed of the indexer is not getting worse.


We were not the first to fix this bug. A similar fix was provided on May 2020

( This code also fixes our bug.

Maybe this helps with the review.


For this fix we have also provided a JUNit test.


In the name of my company I would like to ask that someone with experience with

the preprocessor and the indexer have a look at the suggested changes and review them.



Michael Uhl




cdt-dev mailing list
To unsubscribe from this list, visit
cdt-dev mailing list
To unsubscribe from this list, visit

Back to the top