Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Bug 206372 could someone take a look?

I reported 206372 for 4.0.1 and so far it isn't even assigned to anyone. It is 
a nasty critter resulting in indexer problems because indexer ends up 
including a mix of current and obsolete headers:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=206372
-------------------------------------------------------------------------
Include path discovery doesn't discard obsolete paths on compiler upgrade

Steps To Reproduce:

1. Create a CDT managed project while GCC 4.2.1 is installed on your system
2. Upgrade GCC to 4.2.2
3. Rebuild the project

When you rebuild, new paths are discovered:

/usr/include/c++/4.2.2
/usr/include/c++/4.2.2/x86_64-unknown-linux-gnu
/usr/include/c++/4.2.2/backward

However the old paths with 4.2.1 in them are not discarded. They are still
shown in the Includes virtual folder for the project, and probably still
followed by the indexer because the old paths seem to be higher on the list.


More information:

What do I edit to remove the old paths by hand?
----------------------------------------------------------------------------

If this bug cannot be fixed for 4.0.3 then could someone at least answer my 
last question - how can I fix my project manually?

Regards,
Szczepan Holyszewski


Back to the top