mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 10:48:08 +02:00
glibc master has been C23'fying the functions which is resulting errors Several functions assigned results of bsearch/strstr/strpbrk/memchr to non-const pointers, triggering -Wincompatible-pointer-types-discards-qualifiers under clang/gcc with -Werror. Cast bsearch return values where needed and propagate const correctness for strstr/strpbrk/memchr results. Removes build failures with strict warning flags without changing behavior. Signed-off-by: Khem Raj <raj.khem@gmail.com> [Eric: changed the glxglvnd.c hunk to add the missing `const` instead of casting it away] Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38594> |
||
|---|---|---|
| .. | ||
| apple | ||
| windows | ||
| applegl_glx.c | ||
| clientattrib.c | ||
| clientinfo.c | ||
| compsize.c | ||
| create_context.c | ||
| dri3_glx.c | ||
| dri3_priv.h | ||
| dri_common.c | ||
| dri_common.h | ||
| dri_common_query_renderer.c | ||
| drisw_glx.c | ||
| drisw_priv.h | ||
| driwindows_glx.c | ||
| eval.c | ||
| g_glxglvnddispatchfuncs.c | ||
| g_glxglvnddispatchindices.h | ||
| glvnd-symbols.txt | ||
| glx_error.c | ||
| glx_error.h | ||
| glx_pbuffer.c | ||
| glx_query.c | ||
| glxclient.h | ||
| glxcmds.c | ||
| glxconfig.c | ||
| glxconfig.h | ||
| glxcurrent.c | ||
| glxext.c | ||
| glxextensions.c | ||
| glxextensions.h | ||
| glxglvnd.c | ||
| glxglvnd.h | ||
| glxglvnddispatchfuncs.h | ||
| glxhash.c | ||
| glxhash.h | ||
| indirect_glx.c | ||
| indirect_init.h | ||
| indirect_texture_compression.c | ||
| indirect_transpose_matrix.c | ||
| indirect_vertex_array.c | ||
| indirect_vertex_array.h | ||
| indirect_vertex_array_priv.h | ||
| indirect_vertex_program.c | ||
| indirect_window_pos.c | ||
| libgl-symbols.txt | ||
| meson.build | ||
| packrender.h | ||
| packsingle.h | ||
| pixel.c | ||
| pixelstore.c | ||
| query_renderer.c | ||
| render2.c | ||
| renderpix.c | ||
| single2.c | ||
| vertarr.c | ||
| xfont.c | ||