[python] Reject -builtin with -noproxy
This option combination doesn't make sense, and result in code which doesn't compile. Fixes #1990
This commit is contained in:
parent
005ffc76de
commit
e9a1aa0f9f
1 changed files with 5 additions and 0 deletions
|
|
@ -447,6 +447,11 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (builtin && !shadow) {
|
||||||
|
Printf(stderr, "Incompatible options -builtin and -noproxy specified.\n");
|
||||||
|
SWIG_exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
|
||||||
if (doxygen)
|
if (doxygen)
|
||||||
doxygenTranslator = new PyDocConverter(doxygen_translator_flags);
|
doxygenTranslator = new PyDocConverter(doxygen_translator_flags);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue