[Issue 17051] [Programming in D for C Programmers] C supports anonymous structs; section is misleading.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 14 22:44:32 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17051

greensunny12 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |greensunny12 at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from greensunny12 at gmail.com ---
> Before C11 C didn't allow for anonymous structs or unions, which meant that dummy member names were necessary:


The docs state this, don't they?
Please feel free to reopen if you disagree or send a PR to correct this
yourself.

--


More information about the Digitalmars-d-bugs mailing list