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.
Summary: | Parser fails on Solaris Studio specific keywords | ||
---|---|---|---|
Product: | cnd | Reporter: | soldatov <soldatov> |
Component: | Code Model | Assignee: | Vladimir Voskresensky <vv159170> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
soldatov
2011-07-05 16:24:00 UTC
Please evaluate if it is stopper for Studio. Parser failure sounds too bad. If problem is not that bad, feel free to downgrade. According to QA it is neither P2 nor a showstopper. it breaks Qt support in Studio, because code model is broken if studio toolchain is used simplified samples to support: __hidden struct __symbolic BinaryTree node; __global const float lversion = 1.2; __symbolic int taxrate; __hidden struct employee { int empid; char *name; } Employee; __global void createemployee(int id, char *name) { } __symbolic void deleteemployee(int id) { } __hidden void modifyemployee(int id) { } one more construction is __thread int x = 4; http://hg.netbeans.org/cnd-main/rev/feb4f5e837e2 fix for all cases except struct __symbolic BinaryTree node; __hidden struct __symbolic BinaryTree node; patch candidates are P2s Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/feb4f5e837e2 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #199899 - Parser fails on Solaris Studio specific keywords I reviewed Nik's fix it is safe and correct I've reviewed Vladimir's. It's safe and correct. feb4f5e837e2 transplanted to 30cfccce149d d4db96c3ed1e transplanted to 05f00c1258a0 verified in sputnik-solstudio-main build #3313 (20110922) Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/30cfccce149d User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #199899 - Parser fails on Solaris Studio specific keywords (transplanted from feb4f5e837e20b03bc8782c66eaa816e29e74867) Original problem is not fixed. Minimal test case: class __global QTextStream { public: int f() {return 0;} }; Thanks. I will follow up extra fix, please, verify http://hg.netbeans.org/cnd-main/rev/04e62a8fb0f2 Reviewed. Fix is safe and correct. verified in cnd-build-5958-on-20110927 build integrated into releases/release701_fixes http://hg.netbeans.org/releases/rev/3724da4834c8 Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/04e62a8fb0f2 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #199899 - Parser fails on Solaris Studio specific keywords - support storage specifiers between class/struct and ID Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/3724da4834c8 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #199899 - Parser fails on Solaris Studio specific keywords - support storage specifiers between class/struct and ID (transplanted from 04e62a8fb0f2c8ea06b1ed6a3ef837179ae8fad9) verified in NetBeans IDE 7.0.1 (Build 201109292036) Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/421319203729 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: extra test for ##199899 - Parser fails on Solaris Studio specific keywords |