code completion dependence on PCH

General questions regarding the usage of CodeLite
lurscher
CodeLite Enthusiast
Posts: 11
Joined: Wed Oct 31, 2012 4:34 pm
Genuine User: Yes
IDE Question: c++
Contact:

code completion dependence on PCH

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: code completion dependence on PCH

Post 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
Make sure you have read the HOW TO POST thread
Post Reply