Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tkCanvText.c: incompatible pointer type in function ‘GetTextIndex’ #103

Open
jplesnik opened this issue Mar 5, 2024 · 0 comments
Open

Comments

@jplesnik
Copy link

jplesnik commented Mar 5, 2024

Build of perl-Tk-804.036 failed with error in Fedora Rawhide/40:

tkCanvText.c: In function ‘GetTextIndex’:
tkCanvText.c:1253:40: error: passing argument 2 of ‘TcldeclsVptr->V_Tcl_GetStringFromObj’ from incompatible pointer type [-Wincompatible-pointer-types]
 1253 |     string = Tcl_GetStringFromObj(obj, &length);
      |                                        ^~~~~~~
      |                                        |
      |                                        size_t * {aka long unsigned int *}
tkCanvText.c:1253:40: note: expected ‘int *’ but argument is of type ‘size_t *’ {aka ‘long unsigned int *’}

Build log could be found here.

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

No branches or pull requests

1 participant