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.
When editing C code a function that contains a static array index in parameter declarations is not recognized and causes parameter following the declaration to be unresolved. This feature has been around since C99.My compiler version is GCC 4.5 or later and I have configured NB to compile using C11. int foo(int8_t array1[static 20], int *a, int b) { } The parameter array1 is not resolved and so are a and b. When I remove the '[static 20]' everything resolves correctly.
Fixed at enum: 315119:27016069f105
Integrated into 'main-silver', will be available in build *201704110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/919b148dfad4 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #269245 - Static array indices in parameter declarations not recognized (transplanted from 27016069f1053d65bd49617d6f9d760122ea86ec)
https://netbeans.org/bugzilla/show_bug.cgi?id=269245 Changesets: http://hg.netbeans.org/releases/rev/27016069f105 # Fixed #269245 - Static array indices in parameter declarations not recognized
Verified in NetBeans IDE 8.2 (Build 201704241609)