From 1e78222d516089462a7c3d1de23604e81851eec2 Mon Sep 17 00:00:00 2001 From: Oxore Date: Sun, 5 Mar 2023 21:37:31 +0300 Subject: Fix warnings, part 1 --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 93cca90..c50deb9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,9 @@ set(nixie_clock_sources "app/platform/stm32f0-gcc/startup/startup.cpp" ) +set_source_files_properties("third_party/FreeRTOS/queue.c" PROPERTIES + COMPILE_FLAGS -Wno-cast-align) + add_executable(${PROJECT_NAME} ${nixie_clock_sources} ) @@ -132,7 +135,6 @@ target_compile_options(${PROJECT_NAME} PRIVATE -g3 -Wall -Wextra - -pedantic -Wcast-align -Wshadow -Wlogical-op -- cgit v1.2.3