-
Notifications
You must be signed in to change notification settings - Fork 33
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
An incompatible-pointer-types in pTk/Xlib.t that induces an error with gcc 14 #106
Comments
Theoretically yes. However, Xlib.t seems to be generated somehow, using the script pTk/mkVFunc it seems, and I have to figure out how this is supposed to work. |
Probably the change needs to be made in pTk/Xlib.h. pTk/Xlib.t will be generated from it. |
I have a similar problem with gcc 14.2, I can't 'make'. Any suggestion? |
The error I get is |
For that specific issue you can try to compile with the GCC compiler option |
Didn't help :( |
Chicken out: add |
In file pTk/Xlib.t line 334 there is
VFUNC(KeySym,XKeycodeToKeysym,V_XKeycodeToKeysym,_ANSI_ARGS_((Display *, unsigned int, int)))
which, at compile time, induces with gcc 11.3 on Ubuntu 22.04
while with gcc 14.1 on Fedora 40 the warning is now en error.
Therefore I would suggest to write instead
VFUNC(KeySym,XKeycodeToKeysym,V_XKeycodeToKeysym,_ANSI_ARGS_((Display *, unsigned char, int)))
to correct that.
What do you think @eserte ? Thanks.
The text was updated successfully, but these errors were encountered: