mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
A recent change in glibc 2.42.9000 [1] changes the return type of
strstr() and other string functions to be 'const char *' when the
input is a 'const char *'.
This breaks the build in various files with errors such as :
error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
208 | char *pidstr = strstr(filename, "%");
| ^~~~~~
Fix this by changing the type of the variables that store the result
of these functions to 'const char *'.
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251209174328.698774-1-clg@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
|
2 weeks ago | |
|---|---|---|
| .. | ||
| icons | 3 months ago | |
| shader | 2 years ago | |
| clipboard.c | 7 months ago | |
| cocoa.m | 12 months ago | |
| console-gl.c | 5 months ago | |
| console-priv.h | 2 years ago | |
| console-vc-stubs.c | 2 years ago | |
| console-vc.c | 8 months ago | |
| console.c | 8 months ago | |
| curses.c | 5 months ago | |
| curses_keys.h | 2 years ago | |
| cursor.c | 1 year ago | |
| cursor_hidden.xpm | 13 years ago | |
| cursor_left_ptr.xpm | 13 years ago | |
| dbus-chardev.c | 8 months ago | |
| dbus-clipboard.c | 1 year ago | |
| dbus-console.c | 11 months ago | |
| dbus-display1.xml | 8 months ago | |
| dbus-error.c | 4 years ago | |
| dbus-listener.c | 3 months ago | |
| dbus-module.c | 4 years ago | |
| dbus.c | 2 months ago | |
| dbus.h | 3 years ago | |
| dmabuf.c | 8 months ago | |
| egl-context.c | 1 year ago | |
| egl-headless.c | 1 year ago | |
| egl-helpers.c | 5 months ago | |
| gtk-clipboard.c | 7 months ago | |
| gtk-egl.c | 3 months ago | |
| gtk-gl-area.c | 2 months ago | |
| gtk.c | 3 months ago | |
| input-barrier.c | 4 months ago | |
| input-barrier.h | 6 years ago | |
| input-keymap.c | 5 years ago | |
| input-legacy.c | 1 year ago | |
| input-linux.c | 3 months ago | |
| input.c | 1 year ago | |
| kbd-state.c | 2 years ago | |
| keymaps.c | 4 months ago | |
| keymaps.h | 2 years ago | |
| meson.build | 8 months ago | |
| qemu-pixman.c | 2 months ago | |
| qemu-x509.h | 13 years ago | |
| qemu.desktop | 7 years ago | |
| sdl2-2d.c | 2 years ago | |
| sdl2-gl.c | 7 months ago | |
| sdl2-input.c | 1 year ago | |
| sdl2.c | 3 months ago | |
| shader.c | 4 years ago | |
| spice-app.c | 8 months ago | |
| spice-core.c | 3 months ago | |
| spice-display.c | 3 months ago | |
| spice-input.c | 2 years ago | |
| spice-module.c | 5 years ago | |
| trace-events | 5 months ago | |
| trace.h | 5 years ago | |
| udmabuf.c | 3 years ago | |
| ui-hmp-cmds.c | 2 weeks ago | |
| ui-qmp-cmds.c | 2 years ago | |
| util.c | 3 years ago | |
| vdagent.c | 1 month ago | |
| vgafont.h | 3 years ago | |
| vnc-auth-sasl.c | 1 year ago | |
| vnc-auth-sasl.h | 5 years ago | |
| vnc-auth-vencrypt.c | 5 years ago | |
| vnc-auth-vencrypt.h | 10 years ago | |
| vnc-clipboard.c | 2 years ago | |
| vnc-enc-hextile-template.h | 2 years ago | |
| vnc-enc-hextile.c | 3 years ago | |
| vnc-enc-tight.c | 5 months ago | |
| vnc-enc-tight.h | 10 years ago | |
| vnc-enc-zlib.c | 5 months ago | |
| vnc-enc-zrle.c | 5 months ago | |
| vnc-enc-zrle.c.inc | 5 months ago | |
| vnc-enc-zrle.h | 10 years ago | |
| vnc-enc-zywrle-template.c | 3 years ago | |
| vnc-enc-zywrle.h | 2 years ago | |
| vnc-jobs.c | 5 months ago | |
| vnc-jobs.h | 9 years ago | |
| vnc-palette.c | 2 years ago | |
| vnc-palette.h | 8 years ago | |
| vnc-stubs.c | 2 years ago | |
| vnc-ws.c | 3 years ago | |
| vnc-ws.h | 10 years ago | |
| vnc.c | 1 month ago | |
| vnc.h | 2 months ago | |
| vnc_keysym.h | 3 years ago | |
| win32-kbd-hook.c | 1 year ago | |
| x_keymap.c | 5 years ago | |
| x_keymap.h | 8 years ago | |