From 7f727d46e0f351f2338e5ae142a034722c5428f5 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Mon, 28 Mar 2022 18:27:15 -0700 Subject: [PATCH] ignore -Waddress-of-packed-member --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 27b294f1..42e809b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) if (MSVC) add_compile_options(/W4 /WX) else() - add_compile_options(-Wall -Wextra -Werror) + add_compile_options(-Wall -Wextra -Werror -Wno-address-of-packed-member) endif() include_directories("/usr/local/include")