forked from Archive/PX4-Autopilot
remove -Wlogical-op for Eigen
This commit is contained in:
parent
bb696b756b
commit
aa137f4e95
|
@ -147,7 +147,6 @@ ARCHWARNINGS = -Wall \
|
|||
-Wshadow \
|
||||
-Wfloat-equal \
|
||||
-Wpointer-arith \
|
||||
-Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wpacked \
|
||||
-Wno-unused-parameter \
|
||||
|
|
|
@ -157,8 +157,6 @@ ARCHWARNINGS = -Wall \
|
|||
-Werror=reorder \
|
||||
-Werror=uninitialized \
|
||||
-Werror=init-self \
|
||||
-Wno-error=logical-op \
|
||||
-Wlogical-op \
|
||||
-Wformat=1 \
|
||||
-Werror=unused-but-set-variable \
|
||||
-Wno-error=double-promotion \
|
||||
|
|
|
@ -183,9 +183,8 @@ ARCHWARNINGS = -Wall \
|
|||
|
||||
# Add compiler specific options
|
||||
ifeq ($(USE_GCC),1)
|
||||
ARCHDEFINES += -Wno-error=logical-op
|
||||
ARCHDEFINES +=
|
||||
ARCHWARNINGS += -Wdouble-promotion \
|
||||
-Wlogical-op \
|
||||
-Wformat=1 \
|
||||
-Werror=unused-but-set-variable \
|
||||
-Werror=double-promotion
|
||||
|
|
Loading…
Reference in New Issue