Daniel Berlin wrote:
The problem that sizeof creates is different, in that you have no way to tell where it's been used.
The point is that even if you *did* know, that wouldn't help you. Nothing in the language says that "sizeof (X)" is any different from a constant that has that ABI-specified value. If the compiler emits code that behaves differently based on whether I wrote "sizeof (X)" or "12" (assuming X is a 12-byte structure), then the compiler is broken.
-- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713