From 382bb3cc088f7d00181fe2fea47442acbe4067e6 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Thu, 25 Oct 2001 05:16:02 +0000 Subject: [PATCH] avoid the messages facet on SGI (with MIPSpro compiler) [SVN r11437] --- include/boost/config/stdlib/sgi.hpp | 7 +++++++ 1 file changed, 7 insertions(+) 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: