diff options
author | Ted Ross <tross@apache.org> | 2011-01-06 21:46:55 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2011-01-06 21:46:55 +0000 |
commit | 4316e7c77f880b7d7a29e56a8ae9afe7c3f4974d (patch) | |
tree | 146f597656862c72d48ca79f9bbf328d1401ebfb /cpp | |
parent | 389ee1b30958542fcaa82769f5fb3e8e5ed4cc6e (diff) | |
download | qpid-python-4316e7c77f880b7d7a29e56a8ae9afe7c3f4974d.tar.gz |
Suppress spurious warnings from Swig.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1056095 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/bindings/qmf2/python/Makefile.am | 3 | ||||
-rw-r--r-- | cpp/bindings/qmf2/ruby/Makefile.am | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cpp/bindings/qmf2/python/Makefile.am b/cpp/bindings/qmf2/python/Makefile.am index 814ca9029c..ccb031826a 100644 --- a/cpp/bindings/qmf2/python/Makefile.am +++ b/cpp/bindings/qmf2/python/Makefile.am @@ -27,9 +27,10 @@ generated_file_list = \ EXTRA_DIST = python.i BUILT_SOURCES = $(generated_file_list) +SWIG_FLAGS = -w362,401 $(generated_file_list): $(srcdir)/python.i $(srcdir)/../qmf2.i $(srcdir)/../../swig_python_typemaps.i - swig -c++ -python -Wall $(INCLUDES) $(QPID_CXXFLAGS) -I/usr/include -o cqmf2.cpp $(srcdir)/python.i + swig -c++ -python $(SWIG_FLAGS) $(INCLUDES) $(QPID_CXXFLAGS) -I/usr/include -o cqmf2.cpp $(srcdir)/python.i pylibdir = $(PYTHON_LIB) diff --git a/cpp/bindings/qmf2/ruby/Makefile.am b/cpp/bindings/qmf2/ruby/Makefile.am index f3695e0fbb..ae840f87c6 100644 --- a/cpp/bindings/qmf2/ruby/Makefile.am +++ b/cpp/bindings/qmf2/ruby/Makefile.am @@ -23,11 +23,12 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/src EXTRA_DIST = ruby.i BUILT_SOURCES = cqmf2.cpp +SWIG_FLAGS = -w362,401 rubylibdir = $(RUBY_LIB) cqmf2.cpp: $(srcdir)/ruby.i $(srcdir)/../qmf2.i $(srcdir)/../../swig_ruby_typemaps.i - $(SWIG) -ruby -c++ -Wall $(INCLUDES) $(QPID_CXXFLAGS) -I/usr/include -o cqmf2.cpp $(srcdir)/ruby.i + $(SWIG) -ruby -c++ $(SWIG_FLAGS) $(INCLUDES) $(QPID_CXXFLAGS) -I/usr/include -o cqmf2.cpp $(srcdir)/ruby.i rubylibarchdir = $(RUBY_LIB_ARCH) rubylibarch_LTLIBRARIES = cqmf2.la |