> There could easily be an alignment issue. I remember helping someone here
> convert a file that was originally created under gcc to CodeWarrior. Ther
e were
> problems until we found that gcc would put elements of an array of the following
> type:
> 
> typedef struct {
>   unsigned char dawg[3];
> } DAWGEntry;
> 
> on 3 byte boundaries, but CodeWarrior would put the elements onto 4 byte
> boundaries. I'm not saying that the same thing is happening to you; just saying
> that there *are* differences between the compilers.

  and this also makes sense.. :)) anything you do with bitwise structures
  may be implemented differently internally when compiled.. 

az.
--
Aaron Ardiri 
Java Certified Programmer      http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 656 1143           A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life


--
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