On Wed, May 22, 2024 at 5:00 PM Christian Brabandt <cbli...@256bit.org> wrote:
>
> patch 9.1.0432: Ancient XPM preprocessor hack may cause build errors
>
> Commit: 
> https://github.com/vim/vim/commit/5090f838bbcd3a13433d9fe20a94f3ce6b796eb1
> Author: Drew Vogel <dvogel@github>
> Date:   Wed May 22 16:51:53 2024 +0200
>
>     patch 9.1.0432: Ancient XPM preprocessor hack may cause build errors
>
>     Problem:  Ancient XPM preprocessor hack may cause build errors.
>     Solution: Simplify XPM includes and get rid of complicated #ifdef magic
>               (Drew Vogel).
>
>     closes: #14816
>
>     Signed-off-by: Drew Vogel <dvogel@github>
>     Signed-off-by: Christian Brabandt <c...@256bit.org>
>     [...]

Compiler warnings in gcc 13.2.1.20240509 in Tiny and Normal, both with
Motif GUI. Not in Tiny without GUI and not in Huge with GTK3 GUI :

gui_x11.c: In function ‘gui_mch_init’:
gui_x11.c:1372:36: warning: initialization of ‘char **’ from
incompatible pointer type ‘const char **’
[-Wincompatible-pointer-types]
 1372 |     static char         **magick = vim32x32;
      |                                    ^~~~~~~~
gui_x11.c:1391:24: warning: assignment to ‘char **’ from incompatible
pointer type ‘const char **’ [-Wincompatible-pointer-types]
 1391 |                 magick = vim48x48;
      |                        ^
gui_x11.c:1393:24: warning: assignment to ‘char **’ from incompatible
pointer type ‘const char **’ [-Wincompatible-pointer-types]
 1393 |                 magick = vim32x32;
      |                        ^
gui_x11.c:1395:24: warning: assignment to ‘char **’ from incompatible
pointer type ‘const char **’ [-Wincompatible-pointer-types]
 1395 |                 magick = vim16x16;
      |                        ^


Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAJkCKXujgxbrkVmE-3Av3Py6pjUSgk2Gth%3DtmpF2aqEE6%2BNT0A%40mail.gmail.com.

Raspunde prin e-mail lui