From 1000371d8a2e8b2151172f85a0efe8dda670e191 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 21 Sep 2020 11:06:45 +1000 Subject: [PATCH] AP_SmartRTL: fixed build warning on gcc9 this example produces a slightly oversize frame --- libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp b/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp index ca3928d42d..81fa19aa8d 100644 --- a/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp +++ b/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp @@ -129,4 +129,7 @@ void check_path(const std::vector& correct_path, const char* test_name } } +// gcc9 produces a large frame +#pragma GCC diagnostic ignored "-Wframe-larger-than=" + AP_HAL_MAIN();