diff --git a/debian/changelog b/debian/changelog index 7c1a25b3..5484bee8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ llvm-toolchain-3.4 (1:3.4~svn194079-1) UNRELEASED; urgency=low * Define also MAXPATHLEN in Path.inc for HURD. + * Silent the trillion of warnings in the LLDB Python wrapper (swig generated) + See silent-swig-warning.diff -- Sylvestre Ledru Tue, 26 Nov 2013 18:33:01 +0100 diff --git a/debian/patches/series b/debian/patches/series index f7340bc2..615c1bd5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -28,3 +28,4 @@ atomic_library_2.diff python-clangpath.diff removeduplicatedeclaration.diff ocamldoc.diff +silent-swig-warning.diff diff --git a/debian/patches/silent-swig-warning.diff b/debian/patches/silent-swig-warning.diff new file mode 100644 index 00000000..0a7bb4b1 --- /dev/null +++ b/debian/patches/silent-swig-warning.diff @@ -0,0 +1,13 @@ +Index: llvm-toolchain-3.4-3.4~+rc1/lldb/source/Interpreter/Makefile +=================================================================== +--- llvm-toolchain-3.4-3.4~+rc1.orig/lldb/source/Interpreter/Makefile 2013-08-23 14:44:05.000000000 +0200 ++++ llvm-toolchain-3.4-3.4~+rc1/lldb/source/Interpreter/Makefile 2013-11-28 11:23:01.664429006 +0100 +@@ -23,7 +23,7 @@ + + # Drop -Wself-assign, -Wmissing-field-initializers and -Wsometimes-uninitialized, + # which we are not currently clean with (due to SWIG generated cpp source). +-EXTRA_OPTIONS += -Wno-missing-field-initializers -Wno-self-assign -Wno-sometimes-uninitialized ++EXTRA_OPTIONS += -Wno-missing-field-initializers -Wno-self-assign -Wno-sometimes-uninitialized -Wno-cast-qual + + # edit-swig-python-wrapper-file.py needs $(SRCROOT) + export SRCROOT := $(PROJ_SRC_DIR)/$(LLDB_LEVEL)