by the way, a curious thing about Boost 1.58.0 on OpenBSD:
the 1.58.0 port specified a special user.hpp file (found here:
https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/devel/boost/files/Attic/user.hpp?rev=1.6&content-type=text/x-cvsweb-markup), which defined BOOST_NO_CONFIG . this apparently is a really hard setting in Boost, it switches off all of Boost's built-in compiler lack-of-feature mitigations.
here is its motivation:
// define this to disable all config options,
// excluding the user config. Use if your
// setup is fully ISO complient, and has no
// useful extentions, or for autoconf generated
// setups:
#ifndef BOOST_NO_CONFIG
# define BOOST_NO_CONFIG
#endif
in OpenBSD 6.3 = Boost 1.66.0, the whole user.hpp thing is history and there is hence also no more BOOST_NO_CONFIG but Boost's built in facilities are relied on.
one more interesting thing which may not be correct, is that very competent Redi on #gcc told me that Boost should NOT be compiled with "-std=c++11", as Boost itself manages language standards perfectly. i wonder actually if he was right on that one, as
https://gcc.gnu.org/wiki/Cxx11AbiCompatibility does specify that there are some incompatibilities between language standards, even if indeed they are rare.