projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: disable some warnings for `native_bt.c`
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
Makefile.am
diff --git
a/src/bindings/python/bt2/Makefile.am
b/src/bindings/python/bt2/Makefile.am
index b74821ae8d81445b657c1a4b4734fc04e9eace28..e3e3cbb6dacab3f7de340126115379f04b1127cd 100644
(file)
--- a/
src/bindings/python/bt2/Makefile.am
+++ b/
src/bindings/python/bt2/Makefile.am
@@
-128,6
+128,10
@@
WARN_CFLAGS += -Wno-redundant-decls
# `__cplusplus` is not defined.
WARN_CFLAGS += -Wno-undef
# `__cplusplus` is not defined.
WARN_CFLAGS += -Wno-undef
+# For SWIG generated code
+WARN_CFLAGS += -Wno-missing-field-initializers
+WARN_CFLAGS += -Wno-unused-parameter
+
BUILD_FLAGS=CC="$(CC)" \
CFLAGS="$(GLIB_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(WARN_CFLAGS)" \
CPPFLAGS="$(AM_CPPFLAGS) $(CPPFLAGS) -I$(srcdir)/bt2" \
BUILD_FLAGS=CC="$(CC)" \
CFLAGS="$(GLIB_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(WARN_CFLAGS)" \
CPPFLAGS="$(AM_CPPFLAGS) $(CPPFLAGS) -I$(srcdir)/bt2" \
This page took
0.023036 seconds
and
4
git commands to generate.