-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 08 November 2010, Ákos Maróy wrote:
when compiled with the -Wall and -O2 flags, I get the following compiler warning:
... sample.cxx:13: instantiated from here /home/maroy/src/mxp/usr/include/boost/function/function_base.hpp:321: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/maroy/src/mxp/usr/include/boost/function/function_base.hpp:325: warning: dereferencing type-punned pointer will break strict-aliasing rules
There's already a ticket for this against Boost.Function: https://svn.boost.org/trac/boost/ticket/4538 My guess is that it's just a gcc false positive, and can be ignored. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkzYEHgACgkQ5vihyNWuA4XylwCeO+0ZWPArB8mCjZfpCJyb4r5V zdQAn3a2keoR0lrisUlLjJmIQxSD5Z8x =ncYG -----END PGP SIGNATURE-----