Skip to content
Snippets Groups Projects
Commit d6d77efe authored by Ludovico de Nittis's avatar Ludovico de Nittis
Browse files

meson: remove redundant Wall and Wextra flags


Using the "warning_level=2" mesa option both "Wall" and "Wextra" are
already set by default.

With this commit we also get rid of the compiler warnings:
meson.build:117: WARNING: Consider using the built-in warning_level
option instead of using "-Wall".
meson.build:117: WARNING: Consider using the built-in warning_level
option instead of using "-Wextra".

Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
parent 88f76799
No related branches found
No related tags found
1 merge request!98meson: remove redundant Wall and Wextra flags
Pipeline #2302 passed
...@@ -56,8 +56,6 @@ endif ...@@ -56,8 +56,6 @@ endif
glslang_validator = find_program('glslangValidator', required : true) glslang_validator = find_program('glslangValidator', required : true)
warning_flags = [ warning_flags = [
'-Wall',
'-Wextra',
'-Warray-bounds', '-Warray-bounds',
'-Wcast-align', '-Wcast-align',
'-Wdouble-promotion', '-Wdouble-promotion',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment