diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-10-22 16:17:29 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-10-22 16:17:29 -0700 |
commit | 87f97134a630e50b81cf05b54f5df779c822f8bc (patch) | |
tree | 408e9d1503138c5fe85168e713106c3a70644d93 /cpp/src/FreezeScript/Parser.cpp | |
parent | Bug 4198 - chat demo does not deal with Glacier2 crashing (diff) | |
download | ice-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.cpp | 4 |
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()) { |