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 failed. Expected: 21 errors, Real: 37 Such code (see LLVM34/llvm/lib/Support/Unix/Path.inc too) breaks parser: #define _REENTRANT #include <errno.h> // #define errno (*(___errno())) struct error_code { error_code(int a, int b) {} }; int a() { return 0; } int main() { error_code ec(errno, a()); return 0; }
More simple test case: struct AAA { AAA(int, int); }; int foo(); int boo() { AAA a((foo()), foo()); }
Fixed in http://hg.netbeans.org/cnd-main/rev/b89fdef1f6c4 http://hg.netbeans.org/cnd-main/rev/149dfb83d5fd http://hg.netbeans.org/cnd-main/rev/b6291c0c77ce http://hg.netbeans.org/cnd-main/rev/9e6d94a10499 http://hg.netbeans.org/cnd-main/rev/39a68d2c6fb0
Integrated into 'main-silver', will be available in build *201501220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b89fdef1f6c4 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixing #249746 - inaccuracy tests: parser fails on errno -- small fix for indentation
verified in trunk >System Info: Product Version = NetBeans IDE Dev (Build 201502240532) (#d6aa48dbbbfb)
verified in NetBeans IDE 8.0.2 (Build 201502242207)