From fb8fa3c7b601e90291215e934cd781e52d12542b Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 30 Sep 2002 19:45:22 +0000 Subject: [PATCH] work-around for MIPSpro bug [SVN r15574] --- include/boost/tuple/tuple.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/tuple/tuple.hpp b/include/boost/tuple/tuple.hpp index 71d6dab..c129822 100644 --- a/include/boost/tuple/tuple.hpp +++ b/include/boost/tuple/tuple.hpp @@ -18,6 +18,13 @@ #ifndef BOOST_TUPLE_HPP #define BOOST_TUPLE_HPP +#if defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730 +// Work around a compiler bug. +// boost::python::tuple has to be seen by the compiler before the +// boost::tuple class template. +namespace boost { namespace python { class tuple; }} +#endif + #include "boost/config.hpp" #include "boost/static_assert.hpp"