| Summary: | Support C99 designated initializers | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Robin Pedersen <robinpeder> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | wishlist | ||
| Priority: | VLO | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Unspecified | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
So is this supported in C++ (not 0x)? If not marking it as an error is correct, KDevelop has a C++ support plugin, no C support at the moment. C support has already been filed as a wish, so closing this one. *** This bug has been marked as a duplicate of bug 57156 *** Just for the record: It's not supported in C++, and will not be supported in 0x, but "maybe sometime in the future". |
Version: (using KDE 4.2.1) Installed from: Compiled From Sources I know this will not be a high priority, but it would be nice to have it some time in the future. It might be a good work-around for the moment just to ignore this syntax, and don't report it as an error, so that completion for other parts of the code still works. Example: struct foobar { int foo; int bar; }; struct foobar fb = { .bar = 10, .foo = 20 };