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.
Sample: typedef struct _A{ int v; } A; typedef struct _B{ char * a; void * b; } B; B t[] = { { .a = "s", .b = & (A) { .v = 1} }, { .a = "d", .b = & (A) { .v = 1 } }, { .a = "e", .b = & (A) { .v = 1 } }, { .a = 0 } };
But it only for C. For C ++ - expected primary-expression before ‘. ’ token
http://hg.netbeans.org/releases?cmd=changeset;node=0abd001395e8
verified in NetBeans IDE Dev (Build cnd-build-trunk-279-on-20110810)
fix transplanted in release701_fixes on elif: 0abd001395e8 transplanted to 260d09bac826
Verified in NetBeans IDE 7.0.1 (Build oss-platform-build-22-on-20110818)
integrated in release701_fixes: 260d09bac826 transplanted to 7e4ed4bdaace
verified