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.
Unresolved i. Code: #include <iostream> int i = 1; struct A { int a; A() : a((int)::i) {} }; int main() { A a; std::cout << a.a << std::endl; return 0; }
Petr, please reevaluate the target milestone or/and priority. According target milestone and CR rules it must be fixed in NetBeans 8.1.
Fixed at enum. Changeset: 303707:5f59b044c183
Integrated into 'main-silver', will be available in build *201510300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/59580494d27b User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #246684 - C++: global variable in initialization list (transplanted from 5f59b044c1836b109dd3f193591bdfece61322da)
v.
Verified in NetBeans 8.1patch1