Fixed gcc 4.8 warnings

Disabled gcc warnings that are tripped by Eigen.

Removed signal code that is not needed in Linux port and was
causing gcc warnings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-20 11:16:26 -07:00
parent eabc44afbe
commit e3f137ce23
3 changed files with 4 additions and 24 deletions
+3 -1
View File
@@ -61,7 +61,7 @@ CLANGVER=
endif
endif
#USE_GCC=1
USE_GCC=0
ifeq ($(USE_GCC),1)
# GCC Options:
@@ -162,6 +162,8 @@ ARCHWARNINGS += -Wdouble-promotion \
-Wlogical-op \
-Wformat=1 \
-Werror=unused-but-set-variable \
-Wno-error=unused-local-typedefs \
-Wno-error=enum-compare \
-Werror=double-promotion
ARCHOPTIMIZATION += -fno-strength-reduce
endif