mirror of
https://github.com/SELinuxProject/setools
synced 2025-02-15 03:16:55 +00:00
bison generates unreachable code
This commit is contained in:
parent
48e009d8a4
commit
f6ed116a81
1
setup.py
1
setup.py
@ -150,6 +150,7 @@ ext_py_mods = [Extension('setools.policyrep._qpol',
|
|||||||
'-Wno-unused-parameter', # SWIG generates functions with unused parameters
|
'-Wno-unused-parameter', # SWIG generates functions with unused parameters
|
||||||
'-Wno-cast-qual', # libsepol uses const-to-nonconst casts
|
'-Wno-cast-qual', # libsepol uses const-to-nonconst casts
|
||||||
'-Wno-shadow', # SWIG generates shadow variables
|
'-Wno-shadow', # SWIG generates shadow variables
|
||||||
|
'-Wno-unreachable-code', # Bison generates unreachable code
|
||||||
'-fno-exceptions'],
|
'-fno-exceptions'],
|
||||||
swig_opts=['-Ilibqpol/include'],
|
swig_opts=['-Ilibqpol/include'],
|
||||||
define_macros=macros,
|
define_macros=macros,
|
||||||
|
Loading…
Reference in New Issue
Block a user