summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/FreezeScript/Parser.cpp')
-rw-r--r--cpp/src/FreezeScript/Parser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/FreezeScript/Parser.cpp b/cpp/src/FreezeScript/Parser.cpp
index 2e24f9d88dd..0387f1a5606 100644
--- a/cpp/src/FreezeScript/Parser.cpp
+++ b/cpp/src/FreezeScript/Parser.cpp
@@ -166,7 +166,11 @@ FreezeScript::EvaluateException::ice_name() const
void
FreezeScript::EvaluateException::ice_print(ostream& out) const
{
+#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
+ Exception::ice_print(out);
+#else
Ice::Exception::ice_print(out);
+#endif
out << ":\nerror occurred while evaluating expression";
if(!_reason.empty())
{