1 Mar 2012 08:25
Re: Re: eCos arm-eabi GNU tools - test release 4.6.2-20120125
Sergei Gavrikov <sergei.gavrikov <at> gmail.com>
2012-03-01 07:25:27 GMT
2012-03-01 07:25:27 GMT
On Wed, 29 Feb 2012, Grant Edwards wrote: > Now I've got -Wno-write-strings (as seen above), but I still get 139 > warnings, and 88 of them are because of dereferencing type-punned > pointers by bsd_tcpip files. > > It still looks to me like the bsd_tcpip cdl needs to add > -fno-strict-aliasing to CFLAGS. > > After doing that, I'm down to 51 warnings. > > 39 are variables that are set but not used -- almost all in bsd_tcpip > files. > > Most of the rest are signed/unsigned mismatches for pointer arguments. > Again, almost all are in bsd_tcpip code. Grant, I found what opens Pandora's box thanking your questions on ipv6 stack(Continue reading)That is ipv6 code! As I could understand you include it and I used only ipv4 stack when I tested new toolchain. With the option cdl_option CYGPKG_NET_INET6 { user_value 1 }; I got the same results on warnings as you have. BTW, current and stable GCC-4.3.2 does produce something about 10 warnings for the same build.
That is ipv6 code! As I could understand you include it and I
used only ipv4 stack when I tested new toolchain. With the option
cdl_option CYGPKG_NET_INET6 {
user_value 1
};
I got the same results on warnings as you have.
BTW, current and stable GCC-4.3.2 does produce something about 10
warnings for the same build.
RSS Feed