Subject: Re: toolchain/22118: make won't compile with -Wcast-qual -Wstrict-prototypes and more
To: David Laight <david@l8s.co.uk>
From: Greg A. Woods <woods@weird.com>
List: tech-toolchain
Date: 07/16/2003 15:09:38
[ On Wednesday, July 16, 2003 at 17:29:27 (+0100), David Laight wrote: ]
> Subject: Re: toolchain/22118: make won't compile with -Wcast-qual -Wstrict-prototypes and more
>
> With a limited number of casts in code it is relatively easy to spot
> ones that shouldn't be there.  As soon as you get the proliferation
> of casts required to remove implicit integral conversions the chance
> of spotting the odd, erronous one, is much, much, harder.

Not to mention the number of casts now required with Standard C to get
around the potential for lack of '-Wstrict-prototypes'.  Prototypes are
a good idea that was very poorly executed and now we live with the
consequences.

-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>