diff options
author | Michi Henning <michi@zeroc.com> | 2004-06-03 02:14:59 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2004-06-03 02:14:59 +0000 |
commit | 052349be887f54fd61fcef5ec30d85ce6ff06dc9 (patch) | |
tree | d520b0cc92e8e412d79f797ad775c72660974dca /cpp | |
parent | Backed out previous change. Not sure why this is failing again -- it worked (diff) | |
download | ice-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')
-rwxr-xr-x | cpp/src/slice2cs/Gen.cpp | 2 |
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)"; |