Fixed gcc 15.1.1 warnings from -W -Wall -Wextra.#61
Fixed gcc 15.1.1 warnings from -W -Wall -Wextra.#61bobbens wants to merge 2 commits intogvvaughan:masterfrom
Conversation
Thanks for the PR. Did these changes improve your memory corruption issues? I see that all the tests fail catastrophically in GitHub, although that could easily be GitHub moving the goal posts and nothing related to the changes in your PR. Also, what are the |
They didn't. It's a weird issue where compiling locally works fine, but compiling with a fedora docker image using the steam runtime causes some unpredictable crash. So it's somehow related to either environment or compile optimizations. Sadly, the changes did not fix the core issue, although they solved a lot of warning noise. I eventually side-stepped it all by using lua-ryaml (with my PR applied) which solves the issue.
That's just a way to shut up unused variable warnings, which you get if you compile the project with something like EDIT: Looking at the failed actions here, it could very well likely be the same issue I have. I'm not sure if it's from lyaml, or upstream from libyaml though. |
I'm getting a really weird issue with memory corruption somehow related to lyaml and steam runtimes, so I decided to see if fixing the lyaml warnings on compilation (compiled and embedded with meson instead of luarocks) fixes the issue.