Unfortunately, this is broken on mac (gcc 4.2.1, on osx 10.6.8).
The '__attribute__((aligned(__alignof__(x))))' generates error: requested alignment is not a constant.This is also broken for gcc 4.2.x on Linux, though most of us use a newer gcc (it works in 4.3.x and later). Sorry, I don't have a suggestion for a fix yet.
http://codereview.chromium.org/9702114/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
