guile: emit warning when -gh or -scm option are used
This commit is contained in:
parent
95bfa86ae9
commit
ce14abaf61
1 changed files with 2 additions and 0 deletions
|
|
@ -218,8 +218,10 @@ public:
|
||||||
goops = true;
|
goops = true;
|
||||||
Swig_mark_arg(i);
|
Swig_mark_arg(i);
|
||||||
} else if (strcmp(argv[i], "-gh") == 0) {
|
} else if (strcmp(argv[i], "-gh") == 0) {
|
||||||
|
Printf(stderr, "guile: Warning: -gh option is deprecated. Swig will always generate wrappers using the scm interface. See documentation for more information regarding the deprecated gh interface.\n");
|
||||||
Swig_mark_arg(i);
|
Swig_mark_arg(i);
|
||||||
} else if (strcmp(argv[i], "-scm") == 0) {
|
} else if (strcmp(argv[i], "-scm") == 0) {
|
||||||
|
Printf(stderr, "guile: Warning: -scm option is deprecated. Swig will always generate wrappers using the scm interface. See documentation for more information regarding the deprecated gh interface.\n");
|
||||||
Swig_mark_arg(i);
|
Swig_mark_arg(i);
|
||||||
} else if (strcmp(argv[i], "-primsuffix") == 0) {
|
} else if (strcmp(argv[i], "-primsuffix") == 0) {
|
||||||
if (argv[i + 1]) {
|
if (argv[i + 1]) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue