summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-06-03 02:14:59 +0000
committerMichi Henning <michi@zeroc.com>2004-06-03 02:14:59 +0000
commit052349be887f54fd61fcef5ec30d85ce6ff06dc9 (patch)
treed520b0cc92e8e412d79f797ad775c72660974dca /cpp/src
parentBacked out previous change. Not sure why this is failing again -- it worked (diff)
downloadice-052349be887f54fd61fcef5ec30d85ce6ff06dc9.tar.bz2
ice-052349be887f54fd61fcef5ec30d85ce6ff06dc9.tar.xz
ice-052349be887f54fd61fcef5ec30d85ce6ff06dc9.zip
Removed conditional code generation to work around mcs Beta 1 bug -- mcs
Beta 2 gets it right.
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/slice2cs/Gen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index 6fa50c6d7e4..20f970ce8f0 100755
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -2499,6 +2499,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p)
_out << sp << nl << "public " << retS << " " << opName << spar << params << "Ice.Context __context" << epar;
_out << sb;
+#if 0
//
// TODO: Remove this hack once mcs is fixed.
//
@@ -2568,6 +2569,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p)
_out << nl << "#endif";
_out.restoreIndent();
}
+#endif
_out << nl << "int __cnt = 0;";
_out << nl << "while(true)";