Re: Warning cleanout

2010-11-04 Thread Niels Baggesen
Den 04-11-2010 12:11, Bart Van Assche skrev: > Using -Wno-strict-aliasing is wrong and may result in incorrect code > generation -- -fno-strict-aliasing should be used instead. IMHO this > flag should be added to CFLAGS by the configure script, together with a > test whether the configured compiler

Re: Warning cleanout

2010-11-04 Thread Bart Van Assche
On Thu, Oct 28, 2010 at 9:49 PM, Niels Baggesen wrote: > [ ... ] > My configuration is: > > ../net-snmp-svn/trunk/net-snmp/configure \ > [ ... ] >--with-cflags="-Wchar-subscripts -Wno-strict-aliasing" \ > [ ... ] > Hello Niels, Using -Wno-strict-aliasing is wrong and may result in incorrect

Warning cleanout

2010-10-28 Thread Niels Baggesen
So, I have been hunting warnings these lasts days, and I can now compile the trunk on RedHat 5.5 without seeing any warnings - and even a bit more than the default agent. I hope that others now will try to keep this the rule more than the exception! My configuration is: ../net-snmp-svn/trunk/net