[Issue 231] long is 4-byte aligned in unittest with 4 character module name

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 29 11:26:56 PDT 2006


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





------- Comment #1 from sean at f4.ca  2006-06-29 13:26 -------
I just realized the real problem here is that I'm expecting longs to be 8-byte
aligned on a system with no native 8-byte type.  Perhaps it's just dumb luck
that I've never encountered a long whose address was not 8-byte aligned?  With
that in mind, how does DMD align longs?  And is this portable across compilers?


-- 




More information about the Digitalmars-d-bugs mailing list