Bug 276128 - C99 designated initializers are not supported
Summary: C99 designated initializers are not supported
Status: RESOLVED DUPLICATE of bug 280591
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-20 14:52 UTC by yar
Modified: 2013-12-15 01:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yar 2011-06-20 14:52:18 UTC
Version:           unspecified
OS:                Linux

Designated initializers from C99 are not supported by KDevelop.

For example

struct A { int a; int b; };
struct A a = { .a = 1, .b =3 };

will give "unexpected token" error.

Reproducible: Always
Comment 1 Ryan Reich 2011-07-14 02:05:36 UTC
I'm also getting this behavior, using KDevelop 4.2.2 (KDE Development Platform 4.6.2, according to About) on Ubuntu 11.04.  The periods are red-underlined and their tooltips say "Problem in Parser: Unexpected token '.'".
Comment 2 Alexander Potashev 2013-12-15 01:22:56 UTC

*** This bug has been marked as a duplicate of bug 280591 ***