[Insight-developers] Help to debug on LInux64 and Mac 10.5

Sean McBride sean at rogue-research.com
Fri Dec 21 10:03:41 EST 2007


On 12/21/07 12:01 AM, Bill Lorensen said:

>Actually, it's not the overflow that is the problem. The p is different,
>because part of the key is a pointer!

This is true in 32 and 64 bit, is it not?  We determined the size is:

32 bit: 20 bytes
64 bit: 32 bytes

3 floats = 12 bytes.  So what are those other 8?  Could be pointers or
structure padding.  I'm not sure I understand why the code works in 32 bit. :)

>Even though the x,y,z coodinates of a
>point may be equal in an itkQuadEdgeMeshPoint, the additional part of the
>class may be different.
>
>Hmmm... somehow we need to limit the length of the key to the coordinate
>part.

Agreed.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada



More information about the Insight-developers mailing list