Re: ideas

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 9 May 1996 17:34:17 +0100 (BST)


> unsigned ints, unused parameters galore, and "illegal" conversion from
> int (*)(void*) to int(*)(char*). While none of these are really

Thats arguably a legal conversion. Common sense says it is.

> critical and C probably handles them all for us, it wouldn't hurt to
> make the types more clear and attempt to handle illegal inputs to
> procedures. Makes reading the code and tracking down bugs easier.

Makes the code slower and bloated. A lot of the switches with no defaults
are because only a hardware fault could cause them.

Alan