[Bug runtime/32695] The static array size of STAP_KPROBE_PROBE_STR_module cause -Werror=string-compare with GCC-15
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Feb 14 16:59:47 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=32695
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fche at redhat dot com
--- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> ---
Wild. That char*-vs-char[] optimization is still fine and sound. We could
play games like conditionalize that strcmp with a sizeof or an extra macro like
STAP_KPROBE_PROBE_STR_* emitted from that 2008 patch area. Or ... just add
-Wno-string-compare to the CFLAGS and suppress this one.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list