diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/config/TestUtil.py | 4 | ||||
-rw-r--r-- | cpp/src/slice2freezej/Main.cpp | 10 | ||||
-rw-r--r-- | cpp/src/slice2java/Main.cpp | 10 | ||||
-rw-r--r-- | cpp/src/slice2wsdl/Main.cpp | 10 | ||||
-rw-r--r-- | cpp/src/slice2xsd/Main.cpp | 10 |
5 files changed, 42 insertions, 2 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py index 8bbd35bbf4b..8ff5e1af860 100644 --- a/cpp/config/TestUtil.py +++ b/cpp/config/TestUtil.py @@ -16,8 +16,8 @@ import sys, os # protocol. Otherwise TCP is used. # -#protocol = "ssl" -protocol = "" +protocol = "ssl" +#protocol = "" # # Set compressed to 1 in case you want to run the tests with diff --git a/cpp/src/slice2freezej/Main.cpp b/cpp/src/slice2freezej/Main.cpp index 6cfa614db7d..b06ce6efeab 100644 --- a/cpp/src/slice2freezej/Main.cpp +++ b/cpp/src/slice2freezej/Main.cpp @@ -308,6 +308,7 @@ usage(const char* n) " option may be specified multiple times for\n" " different names. NAME may be a scoped name.\n" "--output-dir DIR Create files in the directory DIR.\n" + "--ice TBD.\n" "-d, --debug Print debug messages.\n" ; } @@ -462,6 +463,15 @@ main(int argc, char* argv[]) } argc -= 2; } + else if(strcmp(argv[idx], "--ice") == 0) + { + // TBD + for(int i = idx ; i + 1 < argc ; ++i) + { + argv[i] = argv[i + 1]; + } + --argc; + } else if(argv[idx][0] == '-') { cerr << argv[0] << ": unknown option `" << argv[idx] << "'" << endl; diff --git a/cpp/src/slice2java/Main.cpp b/cpp/src/slice2java/Main.cpp index e03751fe8a6..0d01dd27769 100644 --- a/cpp/src/slice2java/Main.cpp +++ b/cpp/src/slice2java/Main.cpp @@ -32,6 +32,7 @@ usage(const char* n) "--impl Generate sample implementations.\n" "--impl-tie Generate sample TIE implementations.\n" "--clone Generate clone().\n" + "--ice TBD.\n" "-d, --debug Print debug messages.\n" ; } @@ -173,6 +174,15 @@ main(int argc, char* argv[]) } --argc; } + else if(strcmp(argv[idx], "--ice") == 0) + { + // TBD + for(int i = idx ; i + 1 < argc ; ++i) + { + argv[i] = argv[i + 1]; + } + --argc; + } else if(argv[idx][0] == '-') { cerr << argv[0] << ": unknown option `" << argv[idx] << "'" diff --git a/cpp/src/slice2wsdl/Main.cpp b/cpp/src/slice2wsdl/Main.cpp index 6e86e708626..a0eb13321ec 100644 --- a/cpp/src/slice2wsdl/Main.cpp +++ b/cpp/src/slice2wsdl/Main.cpp @@ -26,6 +26,7 @@ usage(const char* n) "-DNAME=DEF Define NAME as DEF.\n" "-UNAME Remove any definition for NAME.\n" "-IDIR Put DIR in the include file search path.\n" + "--ice TBD.\n" "-d, --debug Print debug messages.\n" ; } @@ -121,6 +122,15 @@ main(int argc, char* argv[]) } argc -= 2; } + else if(strcmp(argv[idx], "--ice") == 0) + { + // TBD + for(int i = idx ; i + 1 < argc ; ++i) + { + argv[i] = argv[i + 1]; + } + --argc; + } else if(argv[idx][0] == '-') { cerr << argv[0] << ": unknown option `" << argv[idx] << "'" << endl; diff --git a/cpp/src/slice2xsd/Main.cpp b/cpp/src/slice2xsd/Main.cpp index 833228b50aa..f3c485ad95c 100644 --- a/cpp/src/slice2xsd/Main.cpp +++ b/cpp/src/slice2xsd/Main.cpp @@ -26,6 +26,7 @@ usage(const char* n) "-DNAME=DEF Define NAME as DEF.\n" "-UNAME Remove any definition for NAME.\n" "-IDIR Put DIR in the include file search path.\n" + "--ice TBD.\n" "-d, --debug Print debug messages.\n" ; } @@ -121,6 +122,15 @@ main(int argc, char* argv[]) } argc -= 2; } + else if(strcmp(argv[idx], "--ice") == 0) + { + // TBD + for(int i = idx ; i + 1 < argc ; ++i) + { + argv[i] = argv[i + 1]; + } + --argc; + } else if(argv[idx][0] == '-') { cerr << argv[0] << ": unknown option `" << argv[idx] << "'" << endl; |