diff --git a/setup.py b/setup.py index d5a1084..022f63e 100644 --- a/setup.py +++ b/setup.py @@ -150,6 +150,7 @@ ext_py_mods = [Extension('setools.policyrep._qpol', '-Wno-unused-parameter', # SWIG generates functions with unused parameters '-Wno-cast-qual', # libsepol uses const-to-nonconst casts '-Wno-shadow', # SWIG generates shadow variables + '-Wno-unreachable-code', # Bison generates unreachable code '-fno-exceptions'], swig_opts=['-Ilibqpol/include'], define_macros=macros,