--- Huw Davies <Huw.Davies(a)kerberos.davies.net.au> wrote:
The real killer (from personal experience) are those
programmers who
think sizeof(int) == sizeof(*int). This breaks lots of "portable" code
when moving away from a typical 32bit machine (especially to alpha).
Remember the attitude, "all the world's a VAX"? There was even more
code 15 years ago with a variety of assumptions about pointer size
and format, and byte order.
The best way (besides good design) to cure that is to write and test your
C code on two architectures that have little common ground. It's one
of the reasons cited for porting Unix to the Interdata 8/32.
-ethan
__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com