From 644a0cd30ca4967d5e578d53e0835f72a83c4f4c Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Tue, 6 Oct 2015 17:20:32 -0400 Subject: [PATCH] adjust attitude_estimator_ekf for posix_sitl_simple --- cmake/toolchains/Toolchain-posix-clang-native.cmake | 1 + src/modules/attitude_estimator_ekf/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/toolchains/Toolchain-posix-clang-native.cmake b/cmake/toolchains/Toolchain-posix-clang-native.cmake index 544f61f826..e52f3f4a64 100644 --- a/cmake/toolchains/Toolchain-posix-clang-native.cmake +++ b/cmake/toolchains/Toolchain-posix-clang-native.cmake @@ -1,6 +1,7 @@ set(WARNINGS -Wall + -Werror -Wextra -Wdouble-promotion -Wshadow diff --git a/src/modules/attitude_estimator_ekf/CMakeLists.txt b/src/modules/attitude_estimator_ekf/CMakeLists.txt index 65ab7eff02..30fb6f0091 100644 --- a/src/modules/attitude_estimator_ekf/CMakeLists.txt +++ b/src/modules/attitude_estimator_ekf/CMakeLists.txt @@ -35,7 +35,7 @@ px4_add_module( MAIN attitude_estimator_ekf STACK 1200 COMPILE_FLAGS - -Wframe-larger-than=3000 + -Wframe-larger-than=3100 -Wno-float-equal SRCS