Boost logo

Boost-MPI :

Subject: [Boost-mpi] _SCL_SECURE_NO_WARNINGS
From: Thomas Trummer (th.trummer_at_[hidden])
Date: 2015-05-25 11:28:13


Hello,

i would like to add support for _SCL_SECURE_NO_WARNINGS because it creates a lot of unnecessary warnings with the Microsoft compilers. Looking at the other Boost libraries there doesn’t seem to be a default way to this. So I wanted to ask if there is a certain way you would prefer.

The change would require to add a pragma at the top of each header file, similar to:
https://github.com/boostorg/mpi/blob/master/include/boost/mpi/communicator.hpp#L40-L43

Another option would be to add two new header files (e.g. /detail/disable_warnings.hpp and /detail/enable_warnings.hpp) similar to what Boost.Move or Boost.IOStream does.

Thomas


Boost-Commit list run by troyer at boostpro.com