aboutsummaryrefslogtreecommitdiff
path: root/bitcoin-qt.pro
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-04-15 12:24:03 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2012-04-15 13:40:14 +0200
commitf9f625fb326d054a7398a9931f20ee40c737d858 (patch)
tree53384b6d31da098b62f81f3a26018bf741c00393 /bitcoin-qt.pro
parent6f6f524f1a916f9aefe5e1ab102efebdab007530 (diff)
enable all warnings except invalid-offsetof, sign-compare, unused-parameter
Diffstat (limited to 'bitcoin-qt.pro')
-rw-r--r--bitcoin-qt.pro3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro
index a3b42cdc2b..14ee947c2f 100644
--- a/bitcoin-qt.pro
+++ b/bitcoin-qt.pro
@@ -90,8 +90,7 @@ contains(BITCOIN_NEED_QT_PLUGINS, 1) {
DEFINES += HAVE_BUILD_INFO
}
-# disable quite some warnings because bitcoin core "sins" a lot
-QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch
+QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-invalid-offsetof -Wno-sign-compare -Wno-unused-parameter
# Input
DEPENDPATH += src/qt src src json/include