mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 19:48:17 +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> |
||
|---|---|---|
| .. | ||
| i915 | ||
| tests | ||
| xe | ||
| intel_aux_map.c | ||
| intel_aux_map.h | ||
| intel_bind_timeline.c | ||
| intel_bind_timeline.h | ||
| intel_buffer_alloc.h | ||
| intel_common.c | ||
| intel_common.h | ||
| intel_compute_slm.c | ||
| intel_compute_slm.h | ||
| intel_debug_identifier.c | ||
| intel_debug_identifier.h | ||
| intel_engine.c | ||
| intel_engine.h | ||
| intel_gem.c | ||
| intel_gem.h | ||
| intel_genX_state_brw.h | ||
| intel_genX_state_elk.h | ||
| intel_guardband.h | ||
| intel_hang_dump.h | ||
| intel_l3_config.c | ||
| intel_l3_config.h | ||
| intel_measure.c | ||
| intel_measure.h | ||
| intel_pixel_hash.h | ||
| intel_sample_positions.c | ||
| intel_sample_positions.h | ||
| intel_tiled_render.h | ||
| intel_urb_config.c | ||
| intel_uuid.c | ||
| intel_uuid.h | ||
| meson.build | ||
| mi_builder.h | ||