Drop deprecated warnings for ancient options
Support for -stat was removed in SWIG 1.3 Alpha 1 nearly 15 years ago, and the documentation options were removed prior to that, so issuing a warning that they are deprecated and ignoring them serves no useful purpose now.
This commit is contained in:
parent
4912920416
commit
fc60a97ebe
1 changed files with 0 additions and 5 deletions
|
|
@ -180,11 +180,6 @@ int main(int margc, char **margv) {
|
|||
} else if (strcmp(argv[i], "-nolang") == 0) {
|
||||
dl = new Language;
|
||||
Swig_mark_arg(i);
|
||||
} else if ((strcmp(argv[i], "-dnone") == 0) ||
|
||||
(strcmp(argv[i], "-dhtml") == 0) ||
|
||||
(strcmp(argv[i], "-dlatex") == 0) || (strcmp(argv[i], "-dascii") == 0) || (strcmp(argv[i], "-stat") == 0)) {
|
||||
Printf(stderr, "swig: Warning. %s option deprecated.\n", argv[i]);
|
||||
Swig_mark_arg(i);
|
||||
} else if ((strcmp(argv[i], "-help") == 0) || (strcmp(argv[i], "--help") == 0)) {
|
||||
if (strcmp(argv[i], "--help") == 0)
|
||||
strcpy(argv[i], "-help");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue