Page 1 of 1

auto-completion not work for "pthread_create" function

Posted: Sun Jun 27, 2010 7:43 am
by roy
Hi Eran,

I encountered one problem that code auto-completion not work for "pthread_create" API function, I already included "<pthread.h>", please see the following screen snapshot:
screenshot_pthread.png
we can see CodeLite prompted some other functions that declared in "pthread.h", but "pthread_create" is missing.

Could you please take a look?

Thanks.

Re: auto-completion not work for "pthread_create" function

Posted: Sun Jun 27, 2010 2:33 pm
by eranif
Open:
Settings -> Tags Settings -> Advanced

Add the following line to the 'Tokens' tab:

Code: Select all

__nonnull
Next, Workspace-> Retag Workspace (full)

It should work now

For more information about this voodoo magic:

http://codelite.org/LiteEditor/MacrosHandling101

Eran

Re: auto-completion not work for "pthread_create" function

Posted: Mon Jun 28, 2010 12:55 am
by roy
your magic works! thanks again.