diff options
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 14 | ||||
-rw-r--r-- | cpp/src/slice2cpp/Main.cpp | 3 |
2 files changed, 7 insertions, 10 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index dff98658826..f157cfbfbc9 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -2364,13 +2364,13 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p) C << nl << "try"; C << sb; - C.zeroIndent(); - C << nl << "#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug"; - C.restoreIndent(); - C << nl << "IceUtil::DummyBCC dummy;"; - C.zeroIndent(); - C << nl << "#endif"; - C.restoreIndent(); + //C.zeroIndent(); + //C << nl << "#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) // C++Builder 2009 compiler bug"; + //C.restoreIndent(); + //C << nl << "IceUtil::DummyBCC dummy;"; + //C.zeroIndent(); + //C << nl << "#endif"; + //C.restoreIndent(); if(p->returnsData()) { diff --git a/cpp/src/slice2cpp/Main.cpp b/cpp/src/slice2cpp/Main.cpp index 903b5f05f7d..c515de80370 100644 --- a/cpp/src/slice2cpp/Main.cpp +++ b/cpp/src/slice2cpp/Main.cpp @@ -107,9 +107,6 @@ compile(int argc, char* argv[]) vector<string> args; try { -#if defined(__BCPLUSPLUS__) && (__BCPLUSPLUS__ >= 0x0600) - IceUtil::DummyBCC dummy; -#endif args = opts.parse(argc, (const char**)argv); } catch(const IceUtilInternal::BadOptException& e) |