From 2ec3f1b8f7b16b5be00f6fc34c9183103b4849bc Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Sun, 27 May 2012 20:50:04 +1000 Subject: 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. --- qt/ScintillaEditPy/ScintillaEditPy.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'qt/ScintillaEditPy') 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 { -- cgit v1.2.3