Geonkick-Synthesizer / geonkick

Geonkick is a free software synthesizer capable of generating a wide range of percussive sounds, including kicks, snares, claps, hi-hats, shakers, and also unique effect sounds.
https://geonkick.org
GNU General Public License v3.0
105 stars 7 forks source link

Fix clang error and warnings #35

Closed treapster closed 8 months ago

treapster commented 8 months ago

While working on #34 i tried to build the plugin with clang but discovered -Wreserved-user-defined-literal error and several other warnings repeated for each inclusion of problematic file. So, here are the fixes. Most changes are purely cosmetic, except for removal of RkCanvas *canvas member from RkCairoGraphicsBackend because it was unused, and changing return type for ring_buffer_resize to void. If the canvas member can theoretically be useful then instead of removal we can put [[maybe_unused]] attribute on it to silence the warning.