Bug 17053 – [Programming in D for C Programmers] C supports array initialization; section is misleading

Status
RESOLVED
Resolution
WORKSFORME
Severity
enhancement
Priority
P3
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-01-01T13:08:00Z
Last change time
2017-06-16T01:39:08Z
Keywords
trivial
Assigned to
nobody
Creator
Gavin.Higham

Comments

Comment #0 by Gavin.Higham — 2017-01-01T13:08:41Z
C has supported array designated initializers since C99, so the section on array initialization requires review. https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html
Comment #1 by greensunny12 — 2017-06-15T05:46:43Z
> C99 fixes the issue: The docs state this, don't they? Please feel free to reopen this if you disagree or send a PR to fix it directly ;-)
Comment #2 by Gavin.Higham — 2017-06-16T01:39:08Z
Yep, looks like the page was updated and this is no longer an issue.