diff --git a/include/boost/config/stdlib/sgi.hpp b/include/boost/config/stdlib/sgi.hpp index 7e21848d..89e2c5ea 100644 --- a/include/boost/config/stdlib/sgi.hpp +++ b/include/boost/config/stdlib/sgi.hpp @@ -48,6 +48,13 @@ # define BOOST_NO_STD_LOCALE #endif +// +// SGI's new iostreams have missing "const" in messages<>::open +// +#if defined(__sgi) && (_COMPILER_VERSION <= 730) && defined(__SGI_STL_OWN_IOSTREAMS) +# define BOOST_NO_STD_MESSAGES +#endif + // // No template iterator constructors, or std::allocator // without member templates: