Re: C macro to find the next power of 2 ?

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Wed, 7 Feb 2007 10:20:34 +0100
Hi Luigi,

Why don't you hardcode the structures with the correct alignment, and maybe 
you find the __align() macro useful.

What you are discovering is an old issue. Hardware structures must be 
indexable without addition.

--HPS
Received on Wed Feb 07 2007 - 08:20:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC