mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-10 07:48:19 +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> |
||
|---|---|---|
| .. | ||
| .clang-format | ||
| meson.build | ||
| vn_acceleration_structure.c | ||
| vn_acceleration_structure.h | ||
| vn_android.c | ||
| vn_android.h | ||
| vn_buffer.c | ||
| vn_buffer.h | ||
| vn_command_buffer.c | ||
| vn_command_buffer.h | ||
| vn_common.c | ||
| vn_common.h | ||
| vn_cs.c | ||
| vn_cs.h | ||
| vn_descriptor.h | ||
| vn_descriptor_heap.c | ||
| vn_descriptor_set.c | ||
| vn_descriptor_set.h | ||
| vn_device.c | ||
| vn_device.h | ||
| vn_device_memory.c | ||
| vn_device_memory.h | ||
| vn_feedback.c | ||
| vn_feedback.h | ||
| vn_host_copy.c | ||
| vn_icd.c | ||
| vn_icd.h | ||
| vn_image.c | ||
| vn_image.h | ||
| vn_instance.c | ||
| vn_instance.h | ||
| vn_physical_device.c | ||
| vn_physical_device.h | ||
| vn_pipeline.c | ||
| vn_pipeline.h | ||
| vn_query_pool.c | ||
| vn_query_pool.h | ||
| vn_queue.c | ||
| vn_queue.h | ||
| vn_render_pass.c | ||
| vn_render_pass.h | ||
| vn_renderer.h | ||
| vn_renderer_internal.c | ||
| vn_renderer_internal.h | ||
| vn_renderer_util.c | ||
| vn_renderer_util.h | ||
| vn_renderer_virtgpu.c | ||
| vn_renderer_vtest.c | ||
| vn_ring.c | ||
| vn_ring.h | ||
| vn_wsi.c | ||
| vn_wsi.h | ||