mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Disable some more warnings on mod{perl,python}
It seems to me like swig is trying to trigger every warning that exists... Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
ifeq "$(PYTHON_ON)" "yes"
|
||||
PYTHONCOMMON := $(PY_CFLAGS)
|
||||
PYTHONCOMMON += -DSWIG_TYPE_TABLE=znc
|
||||
# Could someone fix all of these in swig / python, please?
|
||||
PYTHONCOMMON += -Wno-missing-field-initializers -Wno-unused -Wno-shadow
|
||||
PYTHONCOMMON += -Wno-missing-declarations -Wno-uninitialized
|
||||
PYTHONCOMMON += -Wno-missing-declarations -Wno-uninitialized -Wno-switch-enum
|
||||
PYTHONCOMMON += -Wno-redundant-decls
|
||||
modpythonCXXFLAGS := $(PYTHONCOMMON) -I.
|
||||
modpythonLDFLAGS := $(PY_LDFLAGS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user