summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2015-01-08 10:55:58 +1300
committerOlly Betts <olly@survex.com>2015-01-08 10:55:58 +1300
commitfc60a97ebee3be9a0e4b62664100163f6924664c (patch)
treef7184df3a2fafb6176a917f181c34f49f4ac7c13
parent4912920416f059cd191ce8ba507e06e2fd8d7747 (diff)
downloadswig-fc60a97ebee3be9a0e4b62664100163f6924664c.tar.gz
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.
-rw-r--r--Source/Modules/swigmain.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/Modules/swigmain.cxx b/Source/Modules/swigmain.cxx
index 8a0861d17..6bbf40d95 100644
--- a/Source/Modules/swigmain.cxx
+++ b/Source/Modules/swigmain.cxx
@@ -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");