Page 1 of 1

code completion dependence on PCH

Posted: Sat Nov 17, 2012 7:01 pm
by lurscher
Hi,

Yesterday i reported a bug that is happening with code completion (https://sourceforge.net/p/codelite/bugs/850/); it reports some malformed or corrupted PCH (Pre Compiled Header?)

in my project settings -> compiler -> precompiled headers is everything disabled

is there some way to disable PCH for code completion?

EDIT: Ok nevermind, i didn't see the message on the tracker this morning, i'll try to come up with a test case for it

Re: code completion dependence on PCH

Posted: Sat Nov 17, 2012 7:23 pm
by eranif
lurscher wrote:is there some way to disable PCH for code completion?
Its something done internally by clang code completion

If you don't know what clang is:
http://clang.llvm.org/

If you get such errors, you can always force a cache cleanup to force clang to re-compile everything, from:

settings ->tags settings ->clang -> cache -> Clear
This will clear all cached translation units compiled by clang and it will start from scratch

Eran