Author Topic: [possible bug] code-completion incomplete parsing...  (Read 4937 times)

Offline pivit80

  • Multiple posting newcomer
  • *
  • Posts: 27
[possible bug] code-completion incomplete parsing...
« on: March 29, 2007, 08:34:49 pm »
Hi,
I want to report some bad operation of code-completion plugin;

I've used in a project OpenCV libraries for Computer Vision;
in particular, graphics functions whose prototipies are in header file highgui.h (I've attached it)

Now, I've added opencv include folders in codeblocks search directories window.

When I try code-completion on highgui.h functions, I obtain only a part of these functions, but many of these one aren't showed.

As ex. the following aren't showed:

cvLoadImage(...)
cvShowImage(...)

cNamedWindow(...)
...
...

also the struct IplImage isn't showed.

I think code-completion plugin doesn't mange in elaborate prototypes of these functions;
as example prototype of cvLoadImage, is, like the other ones:

Code
CVAPI(IplImage*) cvLoadImage( const char* filename, int iscolor CV_DEFAULT(CV_LOAD_IMAGE_COLOR));

where CVAPI(IplImage*) is a macro, defined by other macro, an so on.

I thikn the bug/mistake can be on this.

Is it possible?
or it's a my own mistake?

Thank you in advance.
pv

[attachment deleted by admin]

giuliopulina

  • Guest
Re: [possible bug] code-completion incomplete parsing...
« Reply #1 on: July 07, 2008, 04:43:43 pm »
no news?
I'm experiencing the same problem :(

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [possible bug] code-completion incomplete parsing...
« Reply #2 on: February 23, 2009, 02:21:52 pm »
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.