Skip to content

extras/panel/scim_panel_gtk.cpp: fix build with clang19#44

Open
clan wants to merge 2 commits intoscim-im:masterfrom
clan:cast
Open

extras/panel/scim_panel_gtk.cpp: fix build with clang19#44
clan wants to merge 2 commits intoscim-im:masterfrom
clan:cast

Conversation

@clan
Copy link

@clan clan commented Feb 25, 2025

clang 19 report:

error: type 'gdouble' (aka 'double') cannot be narrowed to 'guint16' (aka 'unsigned short') in initializer list

clan added 2 commits February 25, 2025 18:07
clang 19 report:

  error: type 'gdouble' (aka 'double') cannot be narrowed to 'guint16' (aka 'unsigned short') in initializer list

Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
gcc 15 report:
> i18nMethod.c:84:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(struct _Xi18nCore *, TransportSW *, char *)' [-Wincompatible-pointer-types]

Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant