From c597a8e1dfea877f4059c9d9cb4be53ab762e1af Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 28 Dec 2016 13:14:45 +0100 Subject: [PATCH] Disable a set of warnings for NuttX that are new in GCC 6 --- nuttx-configs/PX4_Warnings.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nuttx-configs/PX4_Warnings.mk b/nuttx-configs/PX4_Warnings.mk index cca25b0df7..75a3e023ba 100644 --- a/nuttx-configs/PX4_Warnings.mk +++ b/nuttx-configs/PX4_Warnings.mk @@ -43,7 +43,9 @@ PX4_ARCHWARNINGS = -Wall \ -Wpointer-arith \ -Wshadow \ -Wno-sign-compare \ - -Wno-unused-parameter + -Wno-unused-parameter \ + -Wno-nonnull-compare \ + -Wno-misleading-indentation # -Wcast-qual - generates spurious noreturn attribute warnings, try again later # -Wconversion - would be nice, but too many "risky-but-safe" conversions in the code