From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Blundell To: Ovidiu Predescu Cc: Nick Clifton , egcs@egcs.cygnus.com Subject: Re: Objective C and STRUCTURE_SIZE_BOUNDARY Date: Mon, 31 May 1999 21:36:00 -0000 Message-ID: References: <199905281611.JAA12862@hpcll563.cup.hp.com> X-SW-Source: 1999-05n/msg00814.html Message-ID: <19990531213600.62nQqRuJnLkoyHyU-Eo1XSXXLKizQ5dSQ7esvHK0y2s@z> >with the same structure boundary size? How this works? Is there a way to find >out at runtime what was the option passed to the compiler at the build time? No. What I was thinking we could do to fix this was introduce a new constant, call it MAX_STRUCTURE_SIZE_BOUNDARY, that is set to the upper bound you can have on STRUCTURE_SIZE_BOUNDARY. I think this should cause Objective C to always use the more cautious alignment (ie align to 32-bit boundaries) which will work regardless of what user code is doing. p.