diff options
author | Jose <jose@zeroc.com> | 2009-09-28 23:16:18 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-09-28 23:16:18 +0200 |
commit | 721d2351343a20999c0955d5a9c65c27e4abf305 (patch) | |
tree | 20af7a0b2dec04b802dab939b0e6933b652eec3d /cpp/src/slice2cpp/Gen.cpp | |
parent | Fixed bug 4262 - Fix for connection errors (diff) | |
download | ice-721d2351343a20999c0955d5a9c65c27e4abf305.tar.bz2 ice-721d2351343a20999c0955d5a9c65c27e4abf305.tar.xz ice-721d2351343a20999c0955d5a9c65c27e4abf305.zip |
4284 - StackOverflow in Freeze/evitor
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index c58b78e32c6..dff98658826 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -5741,7 +5741,17 @@ Slice::Gen::AsyncImplVisitor::visitOperation(const OperationPtr& p) } C << nl << "else"; C << sb; - C << nl << "ice_exception(ex);"; + C.zeroIndent(); + C << nl << "#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug"; // COMPILERBUG + C.restoreIndent(); + C << nl << "IncomingAsync::ice_exception(ex);"; + C.zeroIndent(); + C << nl << "#else"; + C.restoreIndent(); + C << nl << "::IceInternal::IncomingAsync::ice_exception(ex);"; + C.zeroIndent(); + C << nl << "#endif"; + C.restoreIndent(); C << eb; C << eb; } |