Boost logo

Boost-MPI :

Subject: Re: [Boost-mpi] Warning killing -Wall -Werror builds
From: Alain Miniussi (Alain.Miniussi_at_[hidden])
Date: 2018-04-08 16:59:39


HI,

Not on my test platforms, but the warning is justified.

Could you file an issue that I can reference it i the fix.

Thanks

ALain

On 08/04/2018 18:31, Belcourt, Kenneth via Boost-mpi wrote:
> Hi,
>
> Hit this error with clang on Mac.  Anyone else see this?
>
> In file included from libs/mpi/src/cartesian_communicator.cpp:12:
> ./boost/mpi/cartesian_communicator.hpp:120:67: warning: all paths
> through this function will call itself [-Winfinite-recursion]
>   cartesian_topology& operator=(cartesian_topology const&& other) {
>             ^
> 1 warning generated.
>
> This is killing my builds with -Werror enabled.
>
> — Noel Belcourt
>
>
>
> _______________________________________________
> Boost-mpi mailing list
> Boost-mpi_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-mpi



Boost-Commit list run by troyer at boostpro.com