[sldev] [VWR] OpenJPEG backtraces

Dale Glass dale at daleglass.net
Sun Sep 23 06:02:31 PDT 2007


On Sunday 23 September 2007 14:53:04 Dzonatas wrote:
> This nuance is one of the reasons why people have screamed to implement
> into the standard the "align" (or "alignof") keyword on the "new"
> operator, such as:
>
> mem = new align[16] char[1024];

Isn't malloc/new supposed to align already on the largest boundary needed 
by the architecture? Meaning, if the largest alignment needed is 32 bits, 
then everything returned by malloc should be 32 bits aligned.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070923/b0a4a4a9/attachment-0001.pgp


More information about the SLDev mailing list