Skip to content

Commit

Permalink
mark specific warnings to disable for the cases where bitcoin core "s…
Browse files Browse the repository at this point in the history
…ins"
  • Loading branch information
laanwj committed May 29, 2011
1 parent 8c937da commit 1d7e321
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bitcoin.pro
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 1d7e321

Please sign in to comment.