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: | Unresolved usage of function name as pointer for static member initialization | ||
---|---|---|---|
Product: | cnd | Reporter: | nnnnnk <nnnnnk> |
Component: | Code Model | Assignee: | Vladimir Voskresensky <vv159170> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
nnnnnk
2008-10-29 16:57:54 UTC
It seems that it's a common bug for static members initialization. Example 2: static void foo(){ } typedef void (*pf) (); class C { public: static pf f; }; pf C::f = foo; int main() { C::f(); return 0; } fixed + test: http://hg.netbeans.org/cnd-main/rev/5da4a5ef8d62 Integrated into 'main-golden', will be available in build *200903291400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5da4a5ef8d62 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed IZ#151751: Unresolved usage of function name as pointer for static member initialization |