On Fri, Jun 03, 2005 at 03:02:29PM -0400, Andy Dougherty wrote: > it apparently can get more confusing. I don't think we sorted out all the > possibilities, but Nick C. was the last one fiddling with it.
I didn't actually try to work out all the possibilities. I managed to avoid the problem by putting the double (or long double) first in the structure, and all allocations are done in terms of sizeof() structures. (Which I think is save, and we haven't had problem reports since the change) Nicholas Clark