Fix various compiler warnings

These caused build failures with -Werror.
This commit is contained in:
Demi Marie Obenour 2022-09-27 16:41:22 -04:00
parent 68b30e36b4
commit e8f3450a58
6 changed files with 13 additions and 68 deletions

View file

@ -97,7 +97,7 @@ have_cpp = add_languages('cpp', native: false, required : false)
if have_cpp
cxx = meson.get_compiler('cpp')
cxx_flags = common_flags
cxx_flags = common_flags + [ '-Wno-c99-designator' ]
add_project_arguments(cxx.get_supported_arguments(cxx_flags), language: 'cpp')
endif