aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2012-05-27 20:50:04 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2012-05-27 20:50:04 +1000
commitb457ea0da7e3a871ebc3af1a9203d07e95ebafdd (patch)
treed64f983832508e4e151531023af91e7071170f53
parent27396c64a17916276f6dd00173e531ff7153e199 (diff)
downloadscintilla-mirror-b457ea0da7e3a871ebc3af1a9203d07e95ebafdd.tar.gz
On Linux, disable warnings that occur in PySide generated code or PySide headers
included by that code. This is done by changing the compile flags on all files which is unfortunate but the warnings are not that important and will trigger for most code when building for GTK+ or Windows native. empty-body occurs for code that looks like "{}". unused-parameter occurs when a function parameter is not used. This change enables the scite/scripts/checkbuildlinux.sh script to run without any warning messages.
-rw-r--r--qt/ScintillaEditPy/ScintillaEditPy.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt/ScintillaEditPy/ScintillaEditPy.pro b/qt/ScintillaEditPy/ScintillaEditPy.pro
index c578a314c..56c9ad029 100644
--- a/qt/ScintillaEditPy/ScintillaEditPy.pro
+++ b/qt/ScintillaEditPy/ScintillaEditPy.pro
@@ -33,6 +33,7 @@ INCLUDEPATH += $$PYSIDE_INCLUDES/QtGui
unix:!mac {
LIBS += -ldl
LIBS += `pkg-config pyside --libs`
+ QMAKE_CXXFLAGS += -Wno-unused-parameter -Wno-empty-body
}
macx {