mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-05 04:18:16 +02:00
Suggested by @gurchetansingh. Android's Soong build system treats several compiler warnings as errors by default: https://android.googlesource.com/platform/build/soong/+/27f57506/cc/config/global.go/#218 To catch these issues in Mesa, introduce `soong_compat_c_args` and `soong_compat_cpp_args` with the following flags treated as errors: -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Werror=date-time -Werror=gnu-alignof-expression -Werror=ignored-qualifiers -Werror=implicit-fallthrough -Werror=int-conversion -Werror=missing-prototypes -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -Werror=sizeof-array-div -Werror=string-plus-int -Werror=unreachable-code-loop-increment These compatibility flags are added to the meson configurations for ANV, Gfxstream, Lavapipe, PanVK, Turnip, and Venus. Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Acked-by: Emma Anholt <emma@anholt.net> Reviewed-by: Gurchetan Singh <gurchetan.singh.foss@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41644> |
||
|---|---|---|
| .. | ||
| bifrost | ||
| midgard | ||
| meson.build | ||
| pan_compiler.c | ||
| pan_compiler.h | ||
| pan_nir.h | ||
| pan_nir_collect_varyings.c | ||
| pan_nir_fuse_io_cvt.c | ||
| pan_nir_lower_bool_to_bitsize.c | ||
| pan_nir_lower_framebuffer.c | ||
| pan_nir_lower_fs_inputs.c | ||
| pan_nir_lower_fs_outputs.c | ||
| pan_nir_lower_helper_invocation.c | ||
| pan_nir_lower_image.c | ||
| pan_nir_lower_image_ms.c | ||
| pan_nir_lower_noperspective.c | ||
| pan_nir_lower_sample_position.c | ||
| pan_nir_lower_tex.c | ||
| pan_nir_lower_var_special.c | ||
| pan_nir_lower_vertex_id.c | ||
| pan_nir_lower_vs_outputs.c | ||
| pan_nir_lower_xfb.c | ||
| pan_nir_resize_varying_io.c | ||