Enable more compile warnings: -Wall & -Wformat=2 82/134382/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 16 Jun 2017 07:04:21 +0000 (16:04 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 16 Jun 2017 07:04:21 +0000 (16:04 +0900)
Change-Id: I1cc553717234ab3bb1b0a33f3520dbf8c9ba8019
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
packaging/context-service.spec

index ec68da9..b124152 100644 (file)
@@ -53,8 +53,8 @@ This is a systemd service that runs in the user session to assist the main servi
 %setup -q
 
 %build
-export CXXFLAGS+=" -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-parameter"
-export CXXFLAGS+=" -Wno-empty-body -fomit-frame-pointer -fno-optimize-sibling-calls"
+export CXXFLAGS+=" -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-parameter"
+export CXXFLAGS+=" -Wformat=2 -Wno-empty-body -fomit-frame-pointer -fno-optimize-sibling-calls"
 export CXXFLAGS+=" -fno-strict-aliasing -fno-unroll-loops -fsigned-char -fstrict-overflow"
 export CXXFLAGS+=" -Wnon-virtual-dtor -std=c++0x"