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
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
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