Search / Find References problem after upgrade to v3.0.5046

CodeLite installation/troubleshooting forum
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Search / Find References problem after upgrade to v3.0.5046

Post by eranif »

piebru wrote:I did project and workspace rebuild
The build is not related to the find-references (retag does)

Can you provide a sample workspace that shows the problem? (I can't reproduce it here, I also compared the results with the ones of 'find-in-files' all seems to be working fine)
I believe it is encoding related (there were few changes in that area), can you check it with files that inculdes some non-ascii chars (if you have such)

In anycase, a small working workspace that shows the problem will be the best for fixing it
Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Search / Find References problem after upgrade to v3.0.5046

Post by jfouche »

Hi Eran,

I agree with Piero :

Code: Select all

int foo()
{
   return 0;
}

int main(void)
{
   foo(); // goto declaration works
   (void)foo(); // goto declaration doesn't work
   (void) foo(); // goto declaration works
   return 0;
}
I'm currently looking into this probem.

Edit : Forget what I wrote before, it was false ;)

OK : What it strange to me :
In ContextCpp::GetExpression(...) : When you find a space at a 0 depth, you stop the expression. But if you encouter a ')', you continue. I think that in C / C++, we can always add spaces around ')', so we can consider it as a space, no ?
Jérémie
Post Reply