https://sourceware.org/bugzilla/show_bug.cgi?id=34125
--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The binutils-2_46-branch branch has been updated by H.J. Lu <[email protected]>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b88558ce1a1c405db0846b938960c22e4ceb41f8 commit b88558ce1a1c405db0846b938960c22e4ceb41f8 Author: H.J. Lu <[email protected]> Date: Sun May 3 08:25:28 2026 +0800 Fix the strrchr error for DOS based filesystem Fix the strrchr error like: gprof/source.c:130:28: error: initialization discards âconstâ qualifier from pointer target type [-Werror=discarded-qualifiers] 130 | char *bslash = strrchr (sf->name, '\\'); binutils/ PR binutils/34125 * bucomm.c (template_in_dir): Make bslash const char *. gprof/ PR binutils/34125 * source.c (annotate_source): Make bslash const char *. Signed-off-by: H.J. Lu <[email protected]> (cherry picked from commit 365fc34606d2d566855e8ba3db9c4f7986ed3bcc) -- You are receiving this mail because: You are on the CC list for the bug.
