Author Topic: Problem with code completion and <list.h>  (Read 7064 times)

Offline Kashrlyyk

  • Single posting newcomer
  • *
  • Posts: 2
Problem with code completion and <list.h>
« on: October 18, 2009, 06:14:11 am »
Whenever I include <list.h> in a project, code completion will from that point onwards only return:
"Too many results. Please edit the ......."

Even if I increase the results limit to 1048576.
Even if I write "floa" which should have only 4 or 5 results.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Problem with code completion and <list.h>
« Reply #1 on: October 18, 2009, 06:39:52 am »
Whenever I include <list.h> in a project, code completion will from that point onwards only return:
"Too many results. Please edit the ......."

Even if I increase the results limit to 1048576.
Even if I write "floa" which should have only 4 or 5 results.
C::B version? please give a simple test code.
works here.(windows XP SVN)
See the screen shot.




[attachment deleted by admin]
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline blueshake

  • Regular
  • ***
  • Posts: 458
Re: Problem with code completion and <list.h>
« Reply #2 on: October 18, 2009, 08:29:59 am »
as I know ,non-English chars will cause this issue.
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Problem with code completion and <list.h>
« Reply #3 on: October 18, 2009, 12:25:17 pm »
Why do you include <list.h> instead of <list> ?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Kashrlyyk

  • Single posting newcomer
  • *
  • Posts: 2
Re: Problem with code completion and <list.h>
« Reply #4 on: October 30, 2009, 08:09:40 am »
Whenever I include <list.h> in a project, code completion will from that point onwards only return:
"Too many results. Please edit the ......."

Even if I increase the results limit to 1048576.
Even if I write "floa" which should have only 4 or 5 results.
C::B version? please give a simple test code.
works here.(windows XP SVN)
See the screen shot.




I tried to make a test code, but I failed because now everything works and I don't know why. Even reducing the results limit back to the default value doesn't cause problems.

zabzonk

  • Guest
Re: Problem with code completion and <list.h>
« Reply #5 on: October 30, 2009, 11:01:55 am »
My experience with code completion is that saving everything, shutting down CB, and then re-starting it again will normally make things start working again. I need to do this quite frequently :-( This is on Win2K usinfg SVN 5858 (but same problem with all other builds I've tried).