Skip to main content

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

Having come across this myself, I've update the bug with a workaround:

To manually fix the file you need to move/delete the ${projectname}.sc
file found under
${workspace}/.metadata/.plugins/org.eclipse.cdt.make.core

Tracy

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Szczepan Holyszewski
Sent: 25 February 2008 13:54
To: cdt-dev@xxxxxxxxxxx
Subject: [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 _______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top