Bugzilla – Bug 1221308
GCC 14: audiofile package fails
Last modified: 2024-03-12 16:36:34 UTC
Building audiofile with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/audiofile/standard/x86_64 Due to (exhaustive list of errors): sixteen-stereo-to-eight-mono.c: In function ‘main’: sixteen-stereo-to-eight-mono.c:61:54: error: passing argument 2 of ‘createTemporaryFile’ from incompatible pointer type [-Wincompatible-pointer-types] 61 | if (!createTemporaryFile("sixteen-to-eight", &testFileName)) | ^~~~~~~~~~~~~ | | | char (*)[4096] In file included from sixteen-stereo-to-eight-mono.c:41: TestUtilities.h:56:52: note: expected ‘char *’ but argument is of type ‘char (*)[4096]’ 56 | bool createTemporaryFile(const char *prefix, char *path); | ~~~~~~^~~~ See the meta bug#1220571 for more info.
It must be a typo in the argument. It's the code in the downstream patch audiofile-CVE-2015-7747.patch. I'll correct it.
The fix was submitted to TW.