diff --git a/nc_warnings.cmake b/nc_warnings.cmake index 28cdfc8..7f2fbd9 100644 --- a/nc_warnings.cmake +++ b/nc_warnings.cmake @@ -157,3 +157,7 @@ if (ADVISORY) append_compile_flag(-Wpadded) endif() + +# WIP: disable alignment checks for the time being because we use a lot of packed structures that trigger this +append_compile_flag(-Wno-packed-not-aligned) +append_compile_flag(-Wno-unaligned-access)