Skip to contentSkip to conversation

BAB7xx board: build warnigns

U-Boot Wolfgang Denk 1 participant 1 message Nov 9, 2011

lore
Share & tools
lore
#0 lore raw

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

Signature · 6 lines
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.