You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GCC-14 added now errors when encountering long-deprecated C features. It encountered one in pygame:
Stack trace/error output/other error logs
src_c/pypm.c: In function ‘__pyx_pf_6pygame_4pypm_5Input___init__’:
src_c/pypm.c:7236:82: error: passing argument 5 of ‘Pm_OpenInput’ from incompatible pointer type [-Wincompatible-pointer-types]
7236 | __pyx_v_err = Pm_OpenInput((&__pyx_v_self->midi), __pyx_t_2, NULL, __pyx_t_3, (&Pt_Time), NULL);
| ~^~~~~~~~~
| |
| PtTimestamp (*)(void) {aka int (*)(void)}
In file included from src_c/pypm.c:1235:
/usr/include/portmidi.h:399:31: note: expected ‘PmTimeProcPtr’ {aka ‘int (*)(void *)’} but argument is of type ‘PtTimestamp (*)(void)’ {aka ‘int (*)(void)’}
399 | PmTimeProcPtr time_proc,
| ~~~~~~~~~~~~~~^~~~~~~~~
expected signature, as it's not obvious from above:
I have portmidi 2.0.4. Released in 2022. It was the one pygames was build in original gentoo bug, too.
No idea whats "1:217-6.1build3" from Ubuntu is relative to that. Quick look at the sources dates them october 2010 at the latest, with Debian patches from 2016.
Environment:
Current behavior:
Fails to compile with error
Expected behavior:
GCC-14 added now errors when encountering long-deprecated C features. It encountered one in pygame:
Stack trace/error output/other error logs
expected signature, as it's not obvious from above:
The text was updated successfully, but these errors were encountered: