mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
CLANG: Make deprecated warnings errors
This commit is contained in:
1 parent
f37f8fb977
commit
16717dc2d4
1 file changed
+1
@@ -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