This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RedBoot: Cleanup excessive indirection in option argumenthandling.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]