summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cppe/Gen.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-07-22 13:52:21 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-07-22 13:52:21 +0000
commit0e09ac0505c473954fd82e02cfa49745fc7b965e (patch)
treeea5fddc111ad3057ded060ef81a45b8ba0e871f9 /cpp/src/slice2cppe/Gen.cpp
parentUse _M_ARM, put fix on delegate. (diff)
downloadice-0e09ac0505c473954fd82e02cfa49745fc7b965e.tar.bz2
ice-0e09ac0505c473954fd82e02cfa49745fc7b965e.tar.xz
ice-0e09ac0505c473954fd82e02cfa49745fc7b965e.zip
Use _M_ARM, put fix on delegate.
Diffstat (limited to 'cpp/src/slice2cppe/Gen.cpp')
-rw-r--r--cpp/src/slice2cppe/Gen.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/cpp/src/slice2cppe/Gen.cpp b/cpp/src/slice2cppe/Gen.cpp
index a9a31c62193..bb10821b28b 100644
--- a/cpp/src/slice2cppe/Gen.cpp
+++ b/cpp/src/slice2cppe/Gen.cpp
@@ -1322,18 +1322,6 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
C << sb;
C << nl << "__handleException(__ex, __cnt);";
C << eb;
-
- C.zeroIndent();
- C << nl << "#if defined(_MSC_VER) && (_MSC_VER == 1201) && (_M_ARM == 4) // EVC4 SP4 bug."; // COMPILERBUG
- C.restoreIndent();
- C << nl << "catch(...)";
- C << sb;
- C << nl << "throw;";
- C << eb;
- C.zeroIndent();
- C << nl << "#endif";
- C.restoreIndent();
-
C << eb;
C << eb;
}
@@ -1547,6 +1535,18 @@ Slice::Gen::DelegateVisitor::visitOperation(const OperationPtr& p)
C << sb;
C << nl << "throw ::IceInternal::NonRepeatable(__ex);";
C << eb;
+
+ C.zeroIndent();
+ C << nl << "#if defined(_MSC_VER) && (_MSC_VER == 1201) && defined(_M_ARM) // EVC4 SP4 bug."; // COMPILERBUG
+ C.restoreIndent();
+ C << nl << "catch(...)";
+ C << sb;
+ C << nl << "throw;";
+ C << eb;
+ C.zeroIndent();
+ C << nl << "#endif";
+ C.restoreIndent();
+
C << eb;
}