[U-Boot] BAB7xx board: build warnigns

Wolfgang Denk wd at denx.de
Wed Nov 9 16:01:53 CET 2011


Dear Frank,

the BAB7xx throws a number of build warnings:

misc.c: In function 'misc_init_r':
misc.c:159:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
misc.c:247:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
misc.c:249:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
misc.c:252:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
misc.c:280:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
misc.c:345:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]


Is it still worth to fix these (then please provide a patch), or
should we rather drop that board?

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
The ideal situation is to have massive computing power right at home.
Something that dims the streetlights and shrinks the picture  on  the
neighbours' TVs when you boot it up.


More information about the U-Boot mailing list