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.
Since Apr, 7 code model has a lot of unresolved IDs. There is no unresolved IDs with old code model. For example. - project clucene-core-0.9.21b - file src/CLucene/StdHeader.cpp 1. void _lucene_shutdown(){ CL_NS(search)::FieldSortedHitQueue::Comparators.clear(); // clear is unresolved _CLDELETE(CL_NS(search)::Sort::RELEVANCE); 2. wchar_t* lucenewcsdup(const wchar_t* v CL_FILELINEPARAM){ size_t len = _tcslen(v); // tcslen is unresolved wchar_t* ret = new wchar_t[len+1]; _tcsncpy(ret,v,len+1); // tcsncpy is unresolved
Appear that changeset 5e288dd3f494 break code model.
Reduced testcase: file.cpp: #include "newfile.h" int main(int argc, char** argv) { _tprintf; // unresolved identifier return 0; } file newfile.h: --------------------------- //* incorrect interpretation of start-block comment #define _tprintf wprintf --------------------------- As result we have missed content of file (so missed define directive) and unexpected token '/' error message in header file
fixed: https://hg.kenai.com/hg/sputnik~main/rev/17c00d2fd70c https://hg.kenai.com/hg/sputnik~main/rev/86441e9ce93e binary http://hg.netbeans.org/cnd-main/rev/b7f884f42582
Integrated into 'main-silver', will be available in build *201604090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b7f884f42582 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #258719 - [newcodemodel] a lot of unresolved id in code model (binary update) - we support line comments as priority in any language flavor