Closed Spacechild1 closed 47 minutes ago
Quoting from my reply in #6436
In general, I'd prefer to do it "properly" by fixing our dependencies if it's not too much work for now.
Additionally, if we decide to go with the fix, we should add gcc14 to our linux build pipeline (maybe replacing gcc7/gcc9?). If you need help with this, I can help. We should also update our README. Maybe @dyfer can also provide some input here, as we recently talked about upgrading the versions used in our CI, see https://github.com/supercollider/supercollider/issues/6430
Edit: https://github.com/supercollider/supercollider/pull/6436 implements a temporary™ fix :)
Actually, I think this doesn't impact Linux, because these code are only used on Windows. It seems that portmidi is only used on Windows (correct me if I'm wrong) and HidP_GetLinkCollectionNodes
is a Windows API function.
I made a PR in hidapi repo to fix incompatible-pointer-types
warnings , maybe someone can take a look?
Environment
GCC 14 has upgraded the
-Wincompatible-pointer-types
warning to an error. As a consequence, some (external) C code in SC fails to compile, namelyportmidi
andhidapi
:As a temporary fix we might pass
-Wno-error=incompatible-pointer-types
so that we still get the warning, but it's not treated as an error. Ideally, the issue should be fixed upstream.Also, there is another compilation error in
SC_PAUtiles
because of a missing include of<cstdint>
: