diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2012-05-27 20:50:04 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2012-05-27 20:50:04 +1000 |
commit | 2ec3f1b8f7b16b5be00f6fc34c9183103b4849bc (patch) | |
tree | 778b28a17f3b422590d515142d51ddb0cfb654b1 | |
parent | 744a0004b2df89d701c4259a17bcf7854155562c (diff) | |
download | scintilla-mirror-2ec3f1b8f7b16b5be00f6fc34c9183103b4849bc.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.pro | 1 |
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 { |