From 4ad8c9f81344965e21606f79410d2a9dfe0123ba Mon Sep 17 00:00:00 2001 From: twanvl Date: Tue, 2 Sep 2008 15:46:05 +0000 Subject: [PATCH] Fixed msvc 7.1 internal compiler error with new boost version git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1190 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/util/smart_ptr.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/smart_ptr.hpp b/src/util/smart_ptr.hpp index a5d75851..cd3a240e 100644 --- a/src/util/smart_ptr.hpp +++ b/src/util/smart_ptr.hpp @@ -20,6 +20,9 @@ #define USE_INTRUSIVE_PTR #endif +// Use slightly less fancy template stuff, so msvc7.1 doesn't crash with an internal compiler error +#define BOOST_SP_NO_SP_CONVERTIBLE + #include #ifdef USE_INTRUSIVE_PTR #include