alignment of struct

Justin Whear justin at economicmodeling.com
Thu Mar 13 16:29:45 PDT 2014


On Thu, 13 Mar 2014 23:19:59 +0000, TJB wrote:
 
> Why the difference?  What is weird is that the two codes used to give
> the same answers. Has the alignment value of structs changed recently?

It did change a few versions ago (not sure exactly when).  Try adding 
`align(1):` inside the structs before the members. 


More information about the Digitalmars-d-learn mailing list