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.
File: cpp11/src/cpp0x/forw_enum3.C Errors: cpp11/src/cpp0x/forw_enum3.C 10 unexpected token: enum cpp11/src/cpp0x/forw_enum3.C 11 unexpected token: enum cpp11/src/cpp0x/forw_enum3.C 12 unexpected token: enum cpp11/src/cpp0x/forw_enum3.C 13 unexpected token: enum cpp11/src/cpp0x/forw_enum3.C 16 unexpected token: enum cpp11/src/cpp0x/forw_enum3.C 17 unexpected token: enum cpp11/src/cpp0x/forw_enum3.C 18 unexpected token: enum cpp11/src/cpp0x/forw_enum3.C 19 unexpected token: enum cpp11/src/cpp0x/forw_enum3.C 20 unexpected token: enum cpp11/src/cpp0x/forw_enum3.C 21 unexpected token: } cpp11/src/cpp0x/forw_enum3.C 25 Unable to resolve identifier E1. cpp11/src/cpp0x/forw_enum3.C 26 Unable to resolve identifier E2. cpp11/src/cpp0x/forw_enum3.C 27 Unable to resolve identifier E3. cpp11/src/cpp0x/forw_enum3.C 28 Unable to resolve identifier E4. cpp11/src/cpp0x/forw_enum3.C 29 Unable to resolve identifier E5. cpp11/src/cpp0x/forw_enum3.C 32 Unable to resolve identifier E1. cpp11/src/cpp0x/forw_enum3.C 33 Unable to resolve identifier E2. cpp11/src/cpp0x/forw_enum3.C 34 Unable to resolve identifier E3. cpp11/src/cpp0x/forw_enum3.C 35 Unable to resolve identifier E4. cpp11/src/cpp0x/forw_enum3.C 36 Unable to resolve identifier E5. Code: enum class E1; enum class E2 : int; enum class E3 : short; enum E4 : int; enum E5 : short; I have not any errors in NetBeans 8.0 and a lot of red lines in NetBeans trunk.
latest "good" report Build: 20140416 ===>Name = cpp11, Files = 610, Errors = 0, Warnings = 61, Invalid identifiers = 20, Expected failures = 7 first "bad" report Build: 20140417 ===>Name = cpp11, Files = 610, Errors = 40, Warnings = 89, Invalid identifiers = 24, Expected failures = 14
Fixed in http://hg.netbeans.org/cnd-main/rev/681ad5165400
Integrated into 'main-silver', will be available in build *201404220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/681ad5165400 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #243940 - inaccuracy tests (cpp11): forward declaration of enumerations
Build: 20140421 ===>Name = cpp11, Files = 610, Errors = 2, Warnings = 89, Invalid identifiers = 20, Expected failures = 7 File: cpp11/src/cpp0x/forw_enum6.C Errors: cpp11/src/cpp0x/forw_enum6.C 44 unexpected token: :: cpp11/src/cpp0x/forw_enum6.C 64 unexpected token: :: Code: namespace N1 { struct D; enum class E6; enum E7 : int; } enum N1::E6 e6_1; //ok enum ::N1::E6 e6_2; //ok
Additional fix http://hg.netbeans.org/cnd-main/rev/3797db119ecc
Integrated into 'main-silver', will be available in build *201404230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3797db119ecc User: Petr Kudryavtsev <petrk@netbeans.org> Log: Additional fix for #243940 - inaccuracy tests (cpp11): forward declaration of enumerations -- fixed enum qualified id started with :: token
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/7d28a3f5ab1d User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #243940 - inaccuracy tests (cpp11): forward declaration of enumerations (transplanted from 681ad516540071b70a2a3321508b8c50b8ec8a2f)