Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Treat warnings as errors
  • Loading branch information
rainemak committed Mar 13, 2018
1 parent c6fc066 commit 2ae2a0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/daemon/daemon.pro
Expand Up @@ -5,6 +5,7 @@ QT += dbus
CONFIG += c++11

CONFIG += link_pkgconfig link_prl
QMAKE_CXXFLAGS += -Wparentheses -Werror -Wfatal-errors

packagesExist(qt5-boostable) {
DEFINES += HAS_BOOSTER
Expand Down
2 changes: 2 additions & 0 deletions src/plugin/plugin.pro
Expand Up @@ -13,6 +13,8 @@ contains(CONFIG, desktop) {
PKGCONFIG += contactcache-qt5
}

QMAKE_CXXFLAGS += -Wparentheses -Werror -Wfatal-errors

PKGCONFIG += KF5Archive

# Drop any library linkage we dont actually need (such as contactcache-qt5)
Expand Down

0 comments on commit 2ae2a0f

Please sign in to comment.