From: Wolfgang Denk Date: Thu, 23 Jul 2009 21:06:47 +0200 Subject: [U-Boot] [PATCH] dlmalloc: Ignore gcc4.4 compiler warnings In-Reply-To: <1247495041-8605-3-git-send-email-galak@kernel.crashing.org> References: <1247495041-8605-1-git-send-email-galak@kernel.crashing.org> <1247495041-8605-2-git-send-email-galak@kernel.crashing.org> <1247495041-8605-3-git-send-email-galak@kernel.crashing.org> Message-ID: <20090723190647.7EB9D832E416@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar Gala, In message <1247495041-8605-3-git-send-email-galak@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 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