bug#81554: gcc useless cast warning in X11 files

Jonathan Mitchell <[email protected]> Thu, 6 Aug 2026 00:22:02 -0500
Newsgroups gmane.emacs.bugs
Message-ID <CAAnK0Tbb_c3vYKHMnhna9M=ctMEQ8c5z-8MtCJOhxo44AefMyg@mail.gmail.com>
The warnings are gone now and the Lucid build is functional.

On Wed, Aug 5, 2026 at 11:54 PM Paul Eggert <[email protected]> wrote:
>
> On 8/5/26 07:18, Eli Zaretskii wrote:
> > Paul, WDYT about this?  Should we perhaps turn off this warning
> > option?
>
> For this case, probably better to pacify GCC than to disable the
> warning, as that makes it clearer when we really want strings to be
> writeable. I installed the attached patch onto Emacs master on savannah.
> Jonathan, please give it a try.