Mitch_Fawcett <[EMAIL PROTECTED]> wrote:
> I'm not ruling out a program
> bug, but is there an alignment issue in going from GCC to CW that could be
> the cause?

Uh huh: CodeWarrior is broken.  If you run some sizeof() and offsetof()
tests on your struct on the two compilers, you'll see that CW hasn't
put your `bListID' field where you expect it to, and then the rest of
your struct is out of whack too.

The last few times I attempted to summarise the differences were in the
following messages, but I don't think I had it quite right.  Certainly the
sum-to-16-bits rule is right, though.

        news://news.massena.com/#B21jpod$[EMAIL PROTECTED]
        news://news.massena.com/jdweHqlp$[EMAIL PROTECTED]

    John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to