From ee58739bfe36b43346ce2282515ef6960cda2b2e Mon Sep 17 00:00:00 2001 From: Mischan Toosarani-Hausberger Date: Wed, 20 Nov 2024 16:25:37 +0100 Subject: [PATCH] fix: disable superflous warnings in the NDK build --- cmake/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 68fd086..7b43eb2 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -97,6 +97,7 @@ add_library(unwindstack STATIC ) target_link_libraries(unwindstack log) set_property(TARGET unwindstack PROPERTY CXX_STANDARD 17) +target_compile_options(unwindstack PRIVATE -Wno-c99-designator -Wno-reorder-init-list) if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") target_compile_options(unwindstack PRIVATE $)