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.

Bug 246693

Summary: c99 initializer, unexpected token: ==
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code ModelAssignee: petrk
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2014-08-26 07:01:14 UTC
C99 code:

int main() {
    int i = 1;
    if ((int) {i} == 1) return 1;
    return 0;
}
Comment 1 Alexander Simon 2015-10-01 09:47:49 UTC
Petr,
please reevaluate the target milestone or/and priority.
According target milestone and CR rules it must be fixed in NetBeans 8.1.
Comment 2 petrk 2015-10-27 16:41:15 UTC
Fixed at enum. Changeset: 303684:8943530cf145
Comment 3 Quality Engineering 2015-10-29 02:22:07 UTC
Integrated into 'main-silver', will be available in build *201510290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/062a0a6ab617
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #246693 - c99 initializer, unexpected token: ==
(transplanted from 8943530cf145c3b7de8d74d6e08df4bbb5677000)
Comment 4 Alexander Simon 2015-11-17 12:48:06 UTC
v.
Comment 5 soldatov 2015-11-20 12:01:35 UTC
Verified in NetBeans 8.1patch1