Cygwin headers and codelite tags

General questions regarding the usage of CodeLite
basic
CodeLite Curious
Posts: 2
Joined: Tue Jun 16, 2009 7:06 am
Contact:

Cygwin headers and codelite tags

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

Re: Cygwin headers and codelite tags

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