mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 22:58:10 +08:00
Disable a set of warnings for NuttX that are new in GCC 6
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user