From 5ab6834fed83250229d4debda48ddde6b4d395ff Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Mon, 15 Jan 2018 11:16:51 -0500 Subject: [PATCH] NuttX Make.defs.in ignore -Werror=logical-op This is a temporary workaround for equal expressions in chip/sam_xdmac.c and can be reverted once fixed properly in NuttX. Needed for the GCC 7 upgrade in #8551. --- platforms/nuttx/nuttx-configs/Make.defs.in | 1 + 1 file changed, 1 insertion(+) diff --git a/platforms/nuttx/nuttx-configs/Make.defs.in b/platforms/nuttx/nuttx-configs/Make.defs.in index 23f9108b0a..e5b86c8b22 100644 --- a/platforms/nuttx/nuttx-configs/Make.defs.in +++ b/platforms/nuttx/nuttx-configs/Make.defs.in @@ -51,6 +51,7 @@ CFLAGS = -Os -g2 -I${PX4_SOURCE_DIR}/src/include ${CMAKE_C_FLAGS} -I. -isystem $ -Wno-float-equal \ -Wno-implicit-fallthrough \ -Wno-implicit-function-declaration \ + -Wno-logical-op \ -Wno-maybe-uninitialized \ -Wno-missing-declarations \ -Wno-missing-field-initializers \