------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=139424 Summary: C99-style struct initializer parse error Product: kdevelop Version: 3.3.5 Platform: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: wishlist Priority: NOR Component: general AssignedTo: kdevelop-bugs kdevelop org ReportedBy: tdalman project-psi org Version: 3.3.5 (using KDE 3.5.5, Gentoo) Compiler: Target: i686-pc-linux-gnu OS: Linux (i686) release 2.6.18 Consider the following code snippet: struct some_struct { int a; int b; }; void foo(void) { struct some_struct bar = { .a = 10, .b = 20 }; //... } The first line in foo is marked as error, although it is valid C99 code (but not C++). Is there some way to tell the parse, to ignore (or mark the source entirely C-only) ? Otherwise, it would be nice if this could be resolved....