Page 1 of 1

Cygwin headers and codelite tags

Posted: Wed Dec 09, 2009 6:20 pm
by basic
Hi,
I've recently started using codelite 2.0.3365 with a cygwin based project. I can't seem to get functions in the cygwin headers tagged correctly. The issue seems to be due to cygwin headers using this preprocessor macro on all their functions.

Code: Select all

#define	_EXFUN(name, proto)		name proto
Is there a way to get this to work? I tried using

Code: Select all

_EXFUN(name,proto)=name proto
in the tags preprocessors setting but it doesn't seem to do anything.

Any suggestions?

Thanks.

Re: Cygwin headers and codelite tags

Posted: Wed Dec 09, 2009 7:49 pm
by eranif
basic wrote:_EXFUN(name,proto)=name proto
this wont work, since the conversion that ccodelite_indexer tries to make are literal conversion (it will search for _EXFUN(name, proto)) but since 'name' and 'proto' are variables (i.e. they got other values in the code) it cant find it

Please submit a feature request for this at SF

Eran