summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cs/Main.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-06-15 06:33:57 +0000
committerMichi Henning <michi@zeroc.com>2004-06-15 06:33:57 +0000
commitadbc6ee084567a2fe6a696b7f67c80000e517ff8 (patch)
treead301b9b578daa2ffa73a79210e2d812e4a9924d /cpp/src/slice2cs/Main.cpp
parentdefault behavior of IcePatch client now calculates MD5s dynamically for (diff)
downloadice-adbc6ee084567a2fe6a696b7f67c80000e517ff8.tar.bz2
ice-adbc6ee084567a2fe6a696b7f67c80000e517ff8.tar.xz
ice-adbc6ee084567a2fe6a696b7f67c80000e517ff8.zip
- Added isOpen() method to OutputUtil.
- Removed calls to strerror(errno) in slice2cpp and slice2cs because the std::fstream operations do not set errno when something goes wrong, so any error messages always showed "no error" at the end. - Added support for --impl option to slice2cs. - Found two places in slice2java where exceptions where exception handlers were not ordered into derived-to-base order.
Diffstat (limited to 'cpp/src/slice2cs/Main.cpp')
-rw-r--r--cpp/src/slice2cs/Main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/slice2cs/Main.cpp b/cpp/src/slice2cs/Main.cpp
index d96525324a5..d8262899dce 100644
--- a/cpp/src/slice2cs/Main.cpp
+++ b/cpp/src/slice2cs/Main.cpp
@@ -235,7 +235,7 @@ main(int argc, char* argv[])
}
else
{
- Gen gen(argv[0], icecpp.getBaseName(), includePaths, output);
+ Gen gen(argv[0], icecpp.getBaseName(), includePaths, output, impl);
if(!gen)
{
p->destroy();
@@ -247,10 +247,12 @@ main(int argc, char* argv[])
{
gen.generateTie(p);
}
+#endif
if(impl)
{
gen.generateImpl(p);
}
+#if 0
if(implTie)
{
gen.generateImplTie(p);