RedBoot: Cleanup excessive indirection in option argument handling.

Gary Thomas gary@mlbassoc.com
Tue Sep 30 21:19:00 GMT 2003


On Tue, 2003-09-30 at 10:57, David Vrabel wrote:
> Hi,
> 
> RedBoot's init_opts()/scan_opts() use an excessive level of indirection 
> for the handling of option arguments.  GCC 3.3 chokes on it with 
> warnings about "dereferencing type-punned pointer will break 
> strict-aliasing rules".
> 
> Expect a patch later cleaning up all the typecasts in the 
> init_opts()/scan_opts() calls.
> 
> 2003-09-30  David Vrabel  <dvrabel@arcom.com>
> 
> 	* include/redboot.h, src/parse.c (init_opts, scan_opts): Remove
> 	the excessive level of indirection in the handling of option
> 	arguments.

Applied.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates



More information about the Ecos-patches mailing list