Open ycollet opened 7 months ago
Thanks
None of us have used gcc14 Looks like we either need to turn of werror for fmt upgrade fmt or fix gcc14 if the warning is wrong
our tested compilers end at gcc13 now but will look
That line does look odd but I don’t know what map returns
Thanks a lot for this fast answer :)
No problem
surge is still on fmt9 and when we tried to pull to 10 had some problem I don’t recall.
My guess is by far the most expedient thing would be comment out this line https://github.com/surge-synthesizer/surge-rack/blob/4e0c376ab1995ab7c02fc0201039be407a1d457c/CMakeLists.txt#L72 and see if it builds
if that works we can condition that on gcc 14 pretty easily but since I don’t have the compiler would appreciate a test if you have time
Actually I really just want that error on the rack modules anyway so if it works with that commented out maybe we take a different tack. But that’s still the data point I need!
Checking ... I will keep you informed tonight I think.
Great. No rush here! And thanks!
The other fix we could try which is most correct is in the block above add a compile options for fmt with -wno-blah - I think it’s pretty clear what that would look like if the hammer above works
Commenting the -Werror line in CMakeLists.txt didn't work. Replacing -Werror by -Wno-error in surge/libs/fmt/CMakeLists.txt didn't work
Replacing -Werror by -Wno-error in surge/CMakeLists.txt worked finally :)
Oooh OK.
Well lemme ponder how to do that safely
How about if you add -Wno-angling-reference
instead of -Wno-error
Dangling not angling of course
Finally, I added: add_compile_options(-Wno-error=dangling-reference) in surge/CMakeLists.txt and it worked.
Ok cool thank you
let me figure out right way to make that mergeable next few days and will revert with a branch for a test
thanks for flagging
I am trying to build surge-rack on Fedora 40 with gcc-14.0.1 and I met an error message:
The problem: