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.
Test case is C application with two files. 1. heaher.h typedef struct { enum { CID_NONE = -2, CID_INPUT = -1, } id; } ContentID; 2. main.c #include "header.h" static inline ContentID cid_get(int id){ return (ContentID) { id }; } int main(int argc, char** argv) { ContentID cid_found = cid_get(CID_NONE); // unresolved CID_NONE return 0; }
Fixed at enum. Changeset: 303793:0c101ed3985c
Integrated into 'main-silver', will be available in build *201511030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/235a100f7759 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #255898 - unresolved enumerator from unnamed enum. (transplanted from 0c101ed3985caf5897d1842f0d60514c9c495769)
Verified in NetBeans 8.1patch1