Open jbeich opened 1 week ago
Hi jbeich, Sorry for this. The issue is that the code is strictly speaking not std<23 compatible. (ISO C99 requires at least one argument for the "..." in a variadic macro). The only possibility we saw for fixing this was to require at least std=3Dc23. So we had the tension between having a release build with no warnings basically for free vs a big cost of conforming to new warnings for an older version of C - though it did break stuff, even for us (fuzzing) it seemed like the best option.
We are very open to ideas that address the issue.
Cheers project-repo
ISO C99 requires at least one argument for the "..." in a variadic macro
Clang doesn't print this warning in -std=c11
mode. See downstream build log after applying workaround.
Thank you very much for your swift reply, we will include the patch for meson.build in our next release, which will hopefully occur sooner than last time.
cheers project-repo
cagebreak still builds fine with
-std=c11
and (unlike wlroots where-std=c23
is autodetected) doesn't use__VA_OPT__
. Why intentionally break then?