This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Code complition marks as unknown functions of a class which are actually known as compilation works example: in header file: typedef struct { AIAPI AIErr (*NewParser) ( AIStyleParser* parser ); } AIArtStyleParserSuite; in source file: AIArtStyleParserSuite *sStyleParserSuite; error = sStyleParserSuite->NewParser( &styleParser); NewParser is marked as unknown/unresolved
I can not reproduce this bug. Please, could you provide definitions for AIAPI and AIErr.
AIErr is just int and AIAPI is empy. But I don't think it's the trouble The whole system seems to behave bit unstably - sometimes you must save the file, sometime you must recompile to get types resolved, sometimes types are not resolved at all. Sometimes types or functions are red but when you ctrl+clik on it you get to declaration. It is much better in recent builds than it used to be, though
What version of NetBeans do you use? Some unpleasant issues of NetBeans 6.7 have been fixed in 6.7.1. It seems that the reason if instability you are talking about is http://www.netbeans.org/issues/show_bug.cgi?id=168032, isn't it?
My build is Build 200907300201 so I guess it is after the fix As i said it's much better recently but ocassionaly it doesn't work I think one example is itoa under cygwin, it's not resolved.
itoa is non-standard C++ function. And I can't compile any code with it in Cygwin. Therefore it is missed in Code Completion. With MinGW it works fine.
i am using cygwin and commpiling with -mnocygwin option and _itoa works, but doesn't matter. I suggest to lower priority and keep it in monitoring state. When I will come accross a new example I will post it here
ok