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.
wrong error highlighting for inner structure Code example: ----------------------------- typedef struct pcihp { struct pcihp *nextp; struct pcihp_slotinfo { char *name; } slotinfo[10]; int bus_flags; } pcihp_t; void foo(struct pcihp_slotinfo * x) { x->name[0]; } ----------------------------- wrong error highlighting for using of inner structure pcihp_slotinfo in the function foo()
This is a top bug in the OpenSolaris.
interesting is that "pcihp_slotinfo" has global visibility in case of C compiler (gcc or cc) C++ compilers (g++, CC) report errors for such usage of type
Looking for nested structures will have significant impact on performance of code completion, hyperlinks and unresolved identifier highlighting. Fixing this bug includes deep changes of the whole completion engine. We do not have resources to do it in 6.5.
not in this release. but seems we can do it without significant impact on performance. We just need better classifiers registration mechanism. We can register C classifiers with scope and without scope qualified names on project level
fixed http://hg.netbeans.org/cnd-main?cmd=changeset;node=050e9604cd53
Integrated into 'main-golden', will be available in build *201012070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/666f1fdbc6b1 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #192897 - unstable LiteSQL accuracy test (fixed regression part caused by #144535)