[Zlib-devel] endian issues?

Greg Roelofs newt at pobox.com
Wed Apr 13 20:44:04 EDT 2005


> Any help in pointing me in the right location would be appreciated.

What compiler are you using under Windows?  One of the more interesting
comments at a software-porting talk I attended several years ago was
that the Microsoft compilers and libraries are very permissive in the
kinds of code they accept, which could (and often did) lead to working
code (on Windows) that contained rather subtle, hidden assumptions that
did not hold on other platforms.  (For example, that certain heap-allocated
memory was initialized, when in fact it had never explicitly been zeroed.)

If you _are_ using a Microsoft compiler, you might try recompiling under
Cygwin or with the MinGW32 compiler just for yuks.  (Use -Wall and
optionally -W.)  If not, never mind...  Nothing else comes to mind at
the moment.  (I haven't ever done Palm development.  68k compilers
should be pretty mature by now...but it's always possible someone
introduced a new optimization bug or something.)

Greg




More information about the Zlib-devel mailing list