Hoosgot

Send your wishes and desires out into the ether.

Hoosgot header image 2

Aligned data when doing a new

October 16th, 2008 · No Comments

http://tsdgeos.blogspot.com/2008/10/aligned-data-when-doing-new.html asks Hoosgot,

Dear LazyWeb… I know i can use the gcc aligned attribute to align a variable, but is it possible to do that with memory i get doing a new or a malloc? That is, i have a class that needs to have one of it’s members aligned, so i need to declare the member to be aligned but that is not enough, i need to align the object itself, how?

Visit the blog to lend your wisdom, or you can comment below.

Tags: Uncategorized

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment