
29 Nov
2010
29 Nov
'10
10:52 a.m.
Hi,
On Sun, Nov 28, 2010 at 5:44 PM, Kraus Philipp
I'll get now some compiler warning in the boost::optional line
Boost/1.45/include/boost/mpi/status.hpp: In member function 'void machinelearning::tools::logger::listener(const boost::mpi::communicator&)': /Boost/1.45/include/boost/mpi/status.hpp:48: warning: dereferencing pointer '<anonymous>' does break strict-aliasing rules
Do you think this warnings can be create a problem?
I'm afraid I don't know. However, a similar topic seems to have been discussed on the Boost mailing list earlier: http://lists.boost.org/Archives/boost/2009/12/160236.php As far as I understand, the conclusion is that that warning is harmless for boost::optional. Best regards, Riccardo