[PATCH] Java: Fix alignment of CNI classes

Mark Mitchell mark@codesourcery.com
Wed Mar 5 18:33:00 GMT 2003


> So, for the time being I'm going to force CNI headers to align the
> "old" way by adding explicit alignment. Like this:
>> class bar : foo
> {
> short __attribute__((aligned(__alignof__(foo)))) j;
> }
>> This should work, right?

Yes, it should.
-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /