lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



I'm also not sure if VC has an equivalent to attribute(aligned).

You can use __declspec(align(16)).  See:

    http://msdn2.microsoft.com/en-us/library/83ythb65.aspx

On a 32 bit architecture both Borland and Microsoft compilers use a default 8 byte alignment for doubles. (I think this differs from gcc besed compilers that seem to use 4 byte alignment?) You can use the __alignof operator to get the alignment of a type at runtime.


    http://msdn2.microsoft.com/en-us/library/45t0s5f4.aspx

--
Wim

P.S.: Rici, I suspect you missed a mail or two from me. At least I didn't get a response. (I invited you to the workshop a/o.)