mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 05:03:35 +08:00
re-enable Werror
This commit is contained in:
@@ -482,13 +482,13 @@ function(px4_add_common_flags)
|
||||
|
||||
set(warnings
|
||||
-Wall
|
||||
-Werror
|
||||
-Wno-sign-compare
|
||||
-Wextra
|
||||
#-Wshadow # very verbose due to eigen
|
||||
-Wfloat-equal
|
||||
-Wpointer-arith
|
||||
-Wmissing-declarations
|
||||
-Wpacked
|
||||
-Wno-unused-parameter
|
||||
-Werror=format-security
|
||||
-Werror=array-bounds
|
||||
|
||||
Reference in New Issue
Block a user