Closed Leo3418 closed 8 months ago
To reproduce the bug is enough to use -Werror=incompatible-pointer-types
as CFLAGS. It should work with previous gcc versions.
The difference is that in gcc-14, incompatible-pointer-types are turned into errors while previously they where only warnings.
The library is imported from https://www.speex.org/ so you may want to report this bug to the authors.
FYI, this issue broke the RPM COPR build for the Fedora 40 Beta.
From the information provided by @asarubbo, to add -Wno-error=incompatible-pointer-types
to the CXXFLAGS may work.
The library is imported from https://www.speex.org/ so you may want to report this bug to the authors.
Describe the bug
DOSBox-X 2024.03.01 fails to build with GCC 14 using the
build-sdl2
script. This bug has been reproduced on both Gentoo (https://bugs.gentoo.org/921909) and Fedora 40 (pre-release now, but this issue should be caused by GCC 14 rather than a pre-release distro version).Steps to reproduce the behaviour
This issue can be reproduced in a Fedora 40 Docker container. I used Podman, but Docker should work the same.
Inside the container, run:
Expected behavior
The build completes without any error.
What operating system(s) this bug have occurred on?
fedora:40 Docker image (https://hub.docker.com/layers/library/fedora/40/images/sha256-5f48188999a2ef1bebb855874e5eb5913efe8a5e7afc77006b5e42bc2cbe9bc2)
What version(s) of DOSBox-X have this bug?
2024.03.01 SDL2, tag dosbox-x-v2024.03.01
Used configuration
Output log
Additional information
Full build log
Have you checked that no similar bug report(s) exist?
Code of Conduct & Contributing Guidelines