diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 119a32364..6ca64e10f 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -447,6 +447,11 @@ public: } } + if (builtin && !shadow) { + Printf(stderr, "Incompatible options -builtin and -noproxy specified.\n"); + SWIG_exit(EXIT_FAILURE); + } + if (doxygen) doxygenTranslator = new PyDocConverter(doxygen_translator_flags);