mywave82 / opencubicplayer

Open Cubic Player (unix fork). Music visualizer for various tracked music formats (amiga modules, S3M, IT), chiptunes and other formats related to demoscene
https://stian.cubic.org/project-ocp.php
GNU General Public License v2.0
280 stars 19 forks source link

Fix build with clang10.0.1 #96

Closed ehaupt closed 1 year ago

ehaupt commented 1 year ago

Some older still supported FreeBSD versions use clang 10.0.1. There it fails to build with:

cc -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -fPIC -D_GNU_SOURCE  -Wall -I.././ -O devwnone.c -o devwnone.o -c
devwnone.c:496:54: error: parameter name omitted
static void devwNoneClose (const struct mcpDriver_t *)
                                                     ^
1 error generated.
mywave82 commented 1 year ago

Thank you