Boost logo

Boost-MPI :

Subject: Re: [Boost-mpi] _SCL_SECURE_NO_WARNINGS
From: Thomas Trummer (th.trummer_at_[hidden])
Date: 2015-05-25 14:16:04

> On 25.05.2015, at 19:55, Alain Miniussi <> 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 <> would need to include ‘boost/mpi/config.hpp’ before 'vector'.


Boost-Commit list run by troyer at