[Issue 8566] Inconsistency in aligning named and anonymous structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 20 15:23:31 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8566


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|                            |INVALID


--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2012-08-20 15:23:26 PDT ---
An unnamed struct/union allocates storage for its members. A named one does
not, it just defines a type. Hence the size difference.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list