From 529def11e8959373e4a644d1ded7be5ff242b0e0 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Tue, 1 Aug 2017 12:46:42 +0200 Subject: [PATCH] CMake / Clang: Increase warning level --- cmake/common/px4_base.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/common/px4_base.cmake b/cmake/common/px4_base.cmake index 2b54cbc230..5e65b524e5 100644 --- a/cmake/common/px4_base.cmake +++ b/cmake/common/px4_base.cmake @@ -350,6 +350,8 @@ function(px4_add_common_flags) -Wno-varargs -Wno-address-of-packed-member -Wno-unknown-warning-option + -Wunused-but-set-variable + #-Wdouble-promotion # needs work first ) endif() else()