warnings: disable alignment warnings due to our use of packed structures

This commit is contained in:
Danny Robson 2024-07-18 09:40:23 +10:00
parent 188eb2bf9e
commit 9bcb80eca6

View File

@ -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)