diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-05-29 21:31:29 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-05-29 21:39:49 +0200 |
commit | 1d7e321c10c568fec3f174df2287d8513d168a40 (patch) | |
tree | b126219b07ae265175f4c283b3a5d3cb0886fcd2 /bitcoin.pro | |
parent | 8c937da5f2533dc31e5f071e4e3dcda12fe25e02 (diff) |
mark specific warnings to disable for the cases where bitcoin core "sins"
Diffstat (limited to 'bitcoin.pro')
-rw-r--r-- | bitcoin.pro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitcoin.pro b/bitcoin.pro index e4d694eb41..49574d60f5 100644 --- a/bitcoin.pro +++ b/bitcoin.pro @@ -4,6 +4,10 @@ DEPENDPATH += . INCLUDEPATH += gui/include core/include cryptopp/include json/include unix:LIBS += -lssl -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -ldb_cxx macx:DEFINES += __WXMAC_OSX__ MSG_NOSIGNAL=0 + +# disable quite some warnings becuase bitcoin core "sins" a lot +QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -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 + # WINDOWS defines, -DSSL, look at build system # Input @@ -53,7 +57,6 @@ HEADERS += gui/include/bitcoingui.h \ json/include/json/json_spirit_error_position.h \ json/include/json/json_spirit.h \ core/include/rpc.h \ - gui/src/clientmodel.h \ gui/include/clientmodel.h \ gui/include/guiutil.h \ gui/include/transactionrecord.h \ |