Boost logo

Boost Users :

Subject: Re: [Boost-users] mpi non-blocking communication
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2010-11-29 06:14:58


Am 29.11.2010 um 11:52 schrieb Riccardo Murri:

> Hi,
>
> On Sun, Nov 28, 2010 at 5:44 PM, Kraus Philipp
> <philipp.kraus_at_[hidden]> wrote:
>> 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.

Thanks, I have read the thread and I think also. On my OSX with gcc
4.0.1 the warning is not created on my Gentoo with 4.4.5 the warning
is shown.

Phil


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net