Dear Joakim Tjernlund, In message <[email protected]> you wrote: > Fix these warnings: > dlmalloc.c: In function 'free': > dlmalloc.c:2507: warning: dereferencing pointer '({anonymous})' does break > strict-aliasing rules > dlmalloc.c:2507: warning: dereferencing pointer '({anonymous})' does break > strict-aliasing rules > dlmalloc.c:2507: warning: dereferencing pointer '({anonymous})' does break > strict-aliasing rules > > Some > page(http://blog.worldofcoding.com/2010/02/solving-gcc-44-strict-aliasing-problems.html) > suggests adding __attribute__((__may_alias__)). Doing so makes the warnings > go away. > > Signed-off-by: Joakim Tjernlund <[email protected]> > --- > - forgot signoff > - removed stray attribute change > > common/dlmalloc.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks. 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: [email protected] Until you walk a mile in another man's moccasins, you can't imagine the smell. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

