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

Wolfgang Denk wd at denx.de
Thu Jul 23 21:06:47 CEST 2009


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?

NAK.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If something is different, it's either better or worse,  and  usually
both.                                                    - Larry Wall


More information about the U-Boot mailing list