From a8fc40d4badfd73917171b081f57b88b80bd1e69 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Thu, 23 Jan 2025 22:38:06 +0100 Subject: fix compiler warnings --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index abd4f29..095dbc2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,6 +26,8 @@ target_compile_options(nes_options -Wdouble-promotion -Wformat=2 -Wswitch-enum + # extensions used + -Wno-nested-anon-types -Wno-gnu-anonymous-struct) if(APPLE) # Use automatic reference counting for Objective-C code. -- cgit v1.3.1