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 255328 - inaccuracy tests: C struct initialization
Summary: inaccuracy tests: C struct initialization
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P2 normal (vote)
Assignee: petrk
URL:
Keywords:
: 244274 246679 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-16 11:50 UTC by soldatov
Modified: 2015-10-27 19:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2015-09-16 11:50:30 UTC
We updated and reconfigure some of projects and now we have about 3000 unresolved identifiers in one of file.

Simplest testcase:

typedef struct {
   int  value;
} S;

typedef struct {
   int c;
   S s[1]; 
} T;

T s[]={
   [0] = {0, {{.value=0}}},
   [1] = {1, {{.value=0}}}
};

int main(int argc, char** argv) {

    return 0;
}
Comment 1 petrk 2015-09-19 12:59:05 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/ac63c064ced2
Comment 2 Quality Engineering 2015-09-20 01:32:42 UTC
Integrated into 'main-silver', will be available in build *201509200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ac63c064ced2
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #255328 - inaccuracy tests: C struct initialization
Comment 3 petrk 2015-10-27 19:51:49 UTC
*** Bug 246679 has been marked as a duplicate of this bug. ***
Comment 4 petrk 2015-10-27 19:53:08 UTC
*** Bug 244274 has been marked as a duplicate of this bug. ***