Skip to content
Snippets Groups Projects
Commit 3fdb3c4c authored by Simon McVittie's avatar Simon McVittie
Browse files

build: Disable undesired warnings for C++ too


In particular this disables -Wmissing-field-initializers in check-vulkan.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 74b66562
No related branches found
No related tags found
1 merge request!82Enable and squash compiler warnings
......@@ -134,6 +134,14 @@ foreach flag : no_warning_cflags
add_project_arguments(supported_no_warning_cflags, language : 'c')
endforeach
foreach flag : no_warning_cxxflags
supported_no_warning_cxxflags = cpp_compiler.get_supported_arguments([
'-Wno-error=' + flag,
'-Wno-' + flag,
])
add_project_arguments(supported_no_warning_cxxflags, language : 'cpp')
endforeach
conf_data = configuration_data()
conf_data.set_quoted('VERSION', meson.project_version())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment