mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 17:33:34 +08:00
CLANG: Make deprecated warnings errors
This commit is contained in:
@@ -21,6 +21,7 @@ set(WARNINGS
|
|||||||
-Werror=uninitialized
|
-Werror=uninitialized
|
||||||
-Werror=init-self
|
-Werror=init-self
|
||||||
-Werror=return-type
|
-Werror=return-type
|
||||||
|
-Werror=deprecated
|
||||||
-Wno-packed
|
-Wno-packed
|
||||||
-Wno-frame-larger-than=
|
-Wno-frame-larger-than=
|
||||||
#-Wcast-qual - generates spurious noreturn attribute warnings,
|
#-Wcast-qual - generates spurious noreturn attribute warnings,
|
||||||
|
|||||||
Reference in New Issue
Block a user