All of lore.kernel.org
 help / color / mirror / Atom feed
* test: update midifile library to ANSI C
       [not found] <alsa-project/alsa-lib/pr/463@alsa-project.org>
@ 2025-07-06  4:18 ` GitHub pull_request - opened
  0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2025-07-06  4:18 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-lib pull request #463 was opened from atsampson:

The `midifile` library used by the `playmidi1` program dates from 1989, and used pre-ANSI function definitions and prototypes. GCC 15 now defaults to C23 where `()` means the same as `(void)` in prototypes, which causes type mismatch errors.

Update the code to use ANSI function definitions and prototypes, so it'll compile happily as anything from ANSI C to C23. This revealed that `playmidi1`'s `do_tempo` had the wrong argument type, so correct that as well.

Fixes #452.

Request URL   : https://github.com/alsa-project/alsa-lib/pull/463
Patch URL     : https://github.com/alsa-project/alsa-lib/pull/463.patch
Repository URL: https://github.com/alsa-project/alsa-lib

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-07-06  4:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <alsa-project/alsa-lib/pr/463@alsa-project.org>
2025-07-06  4:18 ` test: update midifile library to ANSI C GitHub pull_request - opened

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.