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.
#include <stdlib.h> #include <stdio.h> int main(int argc, char *argv[]) { for (struct {int foo;} i = {0}; i.foo < 5; i.foo++) printf("%d\n", i.foo); exit(0); } /* This code is completely valid c99 and will run and execute without problem with -std=c99. However the Netbeans parser breaks and reports "Unable to resolve identifier foo" making Netbeans programming in source code containing this pattern impossible. */