diff --git a/setup.py b/setup.py index d687d39f2..140028d80 100644 --- a/setup.py +++ b/setup.py @@ -756,6 +756,9 @@ def get_mupdf(): libraries=libraries, extra_compile_args=extra_compile_args, extra_link_args=extra_link_args, + # Disable bogus SWIG warning 509, 'Overloaded method ... effectively + # ignored, as it is shadowed by ...'. + swig_opts=['-w509'] )