On Thu, Oct 28, 2010 at 9:49 PM, Niels Baggesen
<[email protected]>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 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 recognizes this flag.
Bart.
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders