From 02c6f207ceaa724f0a08de4a15d52f1d26dad33d Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Mon, 2 Nov 2020 15:54:28 +0100 Subject: [PATCH] PX4 compile flags: disable Wlogical-op for GCC 10 There is a proper fix for this already on master but it's a rabbit hole to cherry-pick it: -> update matrix -> dependency on changing ecl -> dependency on a lot of autopilot changes --- cmake/px4_add_common_flags.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/px4_add_common_flags.cmake b/cmake/px4_add_common_flags.cmake index 46d8b215ee..7901605e56 100644 --- a/cmake/px4_add_common_flags.cmake +++ b/cmake/px4_add_common_flags.cmake @@ -89,6 +89,7 @@ function(px4_add_common_flags) -Wno-missing-field-initializers -Wno-missing-include-dirs # TODO: fix and enable -Wno-unused-parameter + -Wno-logical-op # to compile 1.11 release on GCC 10 see https://github.com/PX4/PX4-Matrix/pull/146 ) # compiler specific flags