summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cs/Main.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-07-22 20:52:15 +0200
committerJose <jose@zeroc.com>2016-07-22 20:52:15 +0200
commit506915e2bc9ef6c15e6fd66ac0bd9c693180c914 (patch)
tree12c66ab3413b4de96483c280c0e995bfd2d68658 /cpp/src/slice2cs/Main.cpp
parentCSharp AMD mapping update (diff)
downloadice-506915e2bc9ef6c15e6fd66ac0bd9c693180c914.tar.bz2
ice-506915e2bc9ef6c15e6fd66ac0bd9c693180c914.tar.xz
ice-506915e2bc9ef6c15e6fd66ac0bd9c693180c914.zip
slice2cs updates for new AMD mapping
Diffstat (limited to 'cpp/src/slice2cs/Main.cpp')
-rw-r--r--cpp/src/slice2cs/Main.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/src/slice2cs/Main.cpp b/cpp/src/slice2cs/Main.cpp
index c09fc9d0d54..5850c2cb640 100644
--- a/cpp/src/slice2cs/Main.cpp
+++ b/cpp/src/slice2cs/Main.cpp
@@ -78,7 +78,6 @@ usage(const char* n)
"--ice Allow reserved Ice prefix in Slice identifiers.\n"
"--underscore Allow underscores in Slice identifiers.\n"
"--checksum Generate checksums for Slice definitions.\n"
- "--compat Generate compatibility code to support depreacted features.\n"
;
}
@@ -104,7 +103,6 @@ compile(int argc, char* argv[])
opts.addOpt("", "ice");
opts.addOpt("", "underscore");
opts.addOpt("", "checksum");
- opts.addOpt("", "compat");
bool validate = false;
for(int i = 0; i < argc; ++i)
@@ -186,8 +184,6 @@ compile(int argc, char* argv[])
bool checksum = opts.isSet("checksum");
- bool compat = opts.isSet("compat");
-
if(args.empty())
{
getErrorStream() << argv[0] << ": error: no input file" << endl;
@@ -322,7 +318,7 @@ compile(int argc, char* argv[])
{
try
{
- Gen gen(icecpp->getBaseName(), includePaths, output, impl, implTie, compat);
+ Gen gen(icecpp->getBaseName(), includePaths, output, impl, implTie);
gen.generate(p);
if(tie)
{