Fix for issue "Build failure with stricter C compilers (e.g. GCC 14)", issue #15 doesn't work with libXaw 1.0.16
The fix for #15 (closed) doesn't seem to be there in xdm-1.1.15, though I see MR !18 (merged) and I see it's reference in the 1.1.15 release notes (!21 (merged)).
You can also refer https://gitlab.freedesktop.org/xorg/app/xdm/-/blob/xdm-1.1.15/chooser/chooser.c?ref_type=tags#L229
As @thesamesam asked, I'm linking this here. https://tug.org/pipermail/tex-k/2024-February/004011.html