[En-Nut-Discussion] Float formatting (I read FAQ)

Pawel apcom at tlen.pl
Fri Nov 9 08:29:20 CET 2012


> Hi Pawel,
>
>> BTW - gorp\hashes\md5.c generate warning and (by default) this
>> is treated as error
> Could you please send me your compiler output with this warning?
>

This warning is in Ethernut 4.10.2. Today I also checked trunk and 
problem was already solved.


make -C gorp
make[1]: Entering directory `D:/ethernut/nut/build/gorp'
arm-none-eabi-gcc -c -ID:/ethernut/nut/build/include 
-ID:/ethernut/nut/include  -DAT91SAM7X_EK  -mcpu=arm7tdmi 
-mthumb-interwork -Os -Wall -Wstrict-prototypes -Wa,-a=hashes/md5.lst  
-o hashes/md5.o D:/ethernut/nut/gorp/hashes/md5.c
D:/ethernut/nut/gorp/hashes/md5.c: In function 'NutMD5Final':
D:/ethernut/nut/gorp/hashes/md5.c:307:5: warning: dereferencing 
type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
D:/ethernut/nut/gorp/hashes/md5.c:308:5: warning: dereferencing 
type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

best regards
Pawel



More information about the En-Nut-Discussion mailing list