summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/Parser.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-10-22 16:17:29 -0700
committerMark Spruiell <mes@zeroc.com>2009-10-22 16:17:29 -0700
commit87f97134a630e50b81cf05b54f5df779c822f8bc (patch)
tree408e9d1503138c5fe85168e713106c3a70644d93 /cpp/src/FreezeScript/Parser.cpp
parentBug 4198 - chat demo does not deal with Glacier2 crashing (diff)
downloadice-87f97134a630e50b81cf05b54f5df779c822f8bc.tar.bz2
ice-87f97134a630e50b81cf05b54f5df779c822f8bc.tar.xz
ice-87f97134a630e50b81cf05b54f5df779c822f8bc.zip
fixing VC6 compilation failures
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())
{