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