开发者

Indexer does not find printf/exit/fprintf (Eclipse + Qt + MinGW integration regarding stuff in stdio.h / stdlib.h / etc.)

开发者 https://www.devze.com 2023-04-10 21:41 出处:网络
I have a Qt Project and Eclipse started with the Qt Eclipse integration program. I am using the newest version of Qt (4.3.4), Eclipse and MinGW.

I have a Qt Project and Eclipse started with the Qt Eclipse integration program. I am using the newest version of Qt (4.3.4), Eclipse and MinGW.

My problem is, that the Eclipse Indexer does not find stuff like printf()/fprintf()/exit()! The code compiles fine and the program runs normally!

e.g:

static void mouseHandler(int event, int x, int y, int flags, v开发者_开发技巧oid *param)
{
switch(event) {
/* left button down */
case CV_EVENT_LBUTTONDOWN:
    MousePointerPosition = cvPoint(x,y);
    leftClicks = 1;
    break;

    /* right button down */
case CV_EVENT_RBUTTONDOWN:
    fprintf(stdout, "Right button down (%d, %d).\n", x, y);
    break;

    /* mouse move */
case CV_EVENT_MOUSEMOVE:
    break;
}
}   

I included a screenshot of the directories and files I included (note: I used Qt 4.7.3 in the screenshot, shouldn't make a difference)!

Any suggestions?

Here's a link to the screenshot (I am a new user..): screenshot

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号