> On 25.05.2015, at 19:55, Alain Miniussi <[email protected]> wrote:
> 
> Wouln't it be possible to only add the magic in boost/mpi/config.hpp ? (which 
> is supposed to be included everywhere in boost MPI)

That would be the easiest solution. However, you still would need a 
corresponding #pragma warning(pop) to not leak it into user code (code that 
includes 'boost/mpi.hpp’). Also, it has to be defined before including standard 
library headers like ‘vector'. So files like this 
<https://github.com/boostorg/mpi/blob/master/include/boost/mpi/collectives/all_reduce.hpp>
 would need to include ‘boost/mpi/config.hpp’ before 'vector'.

Thomas 
_______________________________________________
Boost-mpi mailing list
[email protected]
http://lists.boost.org/mailman/listinfo.cgi/boost-mpi

Reply via email to