[U-Boot] [PATCH] dlmalloc: Ignore gcc4.4 compiler warnings

Kenneth Johansson kenneth at southpole.se
Fri Jul 24 18:40:26 CEST 2009


On Thu, 2009-07-23 at 21:06 +0200, Wolfgang Denk wrote:
> Dear Kumar Gala,
> 
> In message <1247495041-8605-3-git-send-email-galak at kernel.crashing.org> you wrote:
> > The version of dlmalloc we are using generates a fair number of warnings
> > of the following form:
> > 
> > warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
> > 
> > Trying to fix these is just paper taping over the issue and we really
> > just need to look into a new malloc implementation.  So we disable these
> > particular warning checks for dlmalloc.c only.
> > 
> > Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> 
> Well, if you think fixing the problems is "paper taping over the
> issue", then how do you call NOT fixing the problems and shutting off
> the warnings?

Well he removed the optimization so the problem is no longer a problem.
It's the description of what was done that is wrong. 





More information about the U-Boot mailing list