Closed JoshuaPettus closed 2 months ago
This was reported on GZDoom and had an easy fix. Unfortunately I am shooting in the dark but I don't have much choice - and as far as I am concerned the GCC committee are the ones at fault for introducing such a breaking change.
Addressed with this change - https://github.com/ZDoom/Raze/commit/f3cad8426cd808be5ded036ed12a497d27d3742e
Unfortunately that seems to be par for the course with them...
Raze version
No response
Which game are you running with Raze?
Other
What Operating System are you using?
Linux x86_64
Please describe your specific OS version
Fedora 40
Relevant hardware info
No response
Have you checked that no other similar issue already exists?
A clear and concise description of what the bug is.
Looks definitely to be a compiler issue. When attempting to compile, gcc trips up here:
~~~~~^~~~^~~~ /home/joshuapettus/Downloads/Raze-1.10.1/libraries/ZWidget/src/widgets/lineedit/lineedit.cpp:511:48: error: cannot convert ‘std::__cxx11::basic_string~~~~~^~/usr/include/stdio.h:158:32: note: initializing argument 1 of ‘int remove(const char)’ 158 | extern int remove (const char filename) THROW; |
~~^~~~ make[2]: [libraries/ZWidget/CMakeFiles/zwidget.dir/build.make:230: libraries/ZWidget/CMakeFiles/zwidget.dir/src/widgets/lineedit/lineedit.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:370: libraries/ZWidget/CMakeFiles/zwidget.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... `Steps to reproduce the behaviour.
Explain how to reproduce
Your configuration
No response
Provide a Log
No response