summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Main.cpp
diff options
context:
space:
mode:
authorAustin Henriksen <austin@zeroc.com>2019-10-30 05:14:29 -0400
committerJoe George <joe@zeroc.com>2021-02-01 16:46:35 -0500
commit452f57976a135c8b72fc8d8f580d5d50618c0cae (patch)
tree0233eedd3cdc380126fd613b04b8b468beb289c0 /cpp/src/slice2cpp/Main.cpp
parentRemove IcePatch2 (#602) (diff)
downloadice-452f57976a135c8b72fc8d8f580d5d50618c0cae.tar.bz2
ice-452f57976a135c8b72fc8d8f580d5d50618c0cae.tar.xz
ice-452f57976a135c8b72fc8d8f580d5d50618c0cae.zip
Remove checksum support (#607)
* Removed checksum sources from swift mapping project file. * Removed checksum tests from Python. * Removed checksum from Python mapping. * Removed checksum tests from PHP mapping. * Removed checksum support from PHP mapping. * Removed checksum sources from MATLAB project file. * Removed checksum option from slice2x manpages. * Removed checksum sources from JavaScript mapping. * Removed checksum tests from Java mapping. * Removed outdated checksum metadata from Java mapping. * Removed checksum support from Java mapping. * Removed checksum tests from csharp. * Removed checksum support from csharp mapping. * Removed checksum tests from cpp * Removed checksum support from IceBox. * Removed checksum support from IceStorm. * Removed Slice checksum support from IceGrid. * Fixed broken filters file for Slice VS project. * Removed checksum support from cpp mapping. * Removed checksum support from Slice definitions. * Removed checksum support from cpp98 mapping.
Diffstat (limited to 'cpp/src/slice2cpp/Main.cpp')
-rw-r--r--cpp/src/slice2cpp/Main.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/src/slice2cpp/Main.cpp b/cpp/src/slice2cpp/Main.cpp
index fe5a95aa995..734f5ed3092 100644
--- a/cpp/src/slice2cpp/Main.cpp
+++ b/cpp/src/slice2cpp/Main.cpp
@@ -76,7 +76,6 @@ usage(const string& n)
"--include-dir DIR Use DIR as the header include directory in source files.\n"
"--impl-c++11 Generate sample implementations for C++11 mapping.\n"
"--impl-c++98 Generate sample implementations for C++98 mapping.\n"
- "--checksum Generate checksums for Slice definitions.\n"
"--dll-export SYMBOL Use SYMBOL for DLL exports\n"
" deprecated: use instead [[\"cpp:dll-export:SYMBOL\"]] metadata.\n"
"--ice Allow reserved Ice prefix in Slice identifiers\n"
@@ -111,7 +110,6 @@ compile(const vector<string>& argv)
opts.addOpt("d", "debug");
opts.addOpt("", "ice");
opts.addOpt("", "underscore");
- opts.addOpt("", "checksum");
bool validate = find(argv.begin(), argv.end(), "--validate") != argv.end();
vector<string> args;
@@ -190,8 +188,6 @@ compile(const vector<string>& argv)
bool underscore = opts.isSet("underscore");
- bool checksum = opts.isSet("checksum");
-
if(args.empty())
{
consoleErr << argv[0] << ": error: no input file" << endl;
@@ -335,7 +331,7 @@ compile(const vector<string>& argv)
try
{
Gen gen(icecpp->getBaseName(), headerExtension, sourceExtension, extraHeaders, include,
- includePaths, dllExport, output, implCpp98, implCpp11, checksum, ice);
+ includePaths, dllExport, output, implCpp98, implCpp11, ice);
gen.generate(u);
}
catch(const Slice::FileException& ex)