Re: alpha porting and errors
David Frey <david@eos.lugs.ch> writes:
> One has primarily to look for misuse and abuse of (pointer) types. There is
> too much software around, which thinks that
>
> sizeof(int)=sizeof(long)=sizeof(void *)=4.
I might add that compiling with -Wall is a good start to finding
these. Adding -Werror can be useful as well, if it compiles cleanly
otherwise.
--
John Goerzen Linux, Unix consulting & programming jgoerzen@complete.org |
Developer, Debian GNU/Linux (Free powerful OS upgrade) www.debian.org |
----------------------------------------------------------------------------+
Remote from the Debian booth at Linux Expo
Reply to: