Silent the trillion of warnings in the LLDB Python wrapper (swig generated)

See silent-swig-warning.diff
This commit is contained in:
Sylvestre Ledru 2013-11-28 10:24:06 +00:00
parent debfc98fc7
commit 57aed2eebe
3 changed files with 16 additions and 0 deletions

2
debian/changelog vendored
View File

@ -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 <sylvestre@debian.org> Tue, 26 Nov 2013 18:33:01 +0100

View File

@ -28,3 +28,4 @@ atomic_library_2.diff
python-clangpath.diff
removeduplicatedeclaration.diff
ocamldoc.diff
silent-swig-warning.diff

13
debian/patches/silent-swig-warning.diff vendored Normal file
View File

@ -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)