diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c491fc29b02..2ad258f3c45 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -36,6 +36,7 @@ target_compile_options(public-header-warnings PRIVATE $<$:-Wno-declaration-after-statement> $<$:-Wno-disabled-macro-expansion> $<$:-Wno-c++98-compat-pedantic> + $<$:-Wno-pre-c11-compat> $<$:-Wno-pre-c2x-compat> $<$:-Wno-unsafe-buffer-usage> $<$:-Wno-padded>