News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

[possible bug] code-completion incomplete parsing...

Started by pivit80, March 29, 2007, 08:34:49 PM

Previous topic - Next topic

pivit80

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:

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


ollydbg

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.