discordjs / opus

Native opus bindings for node
MIT License
192 stars 55 forks source link

fix: add cflag to fix build on gcc 14 #155

Closed my60gb closed 4 months ago

my60gb commented 4 months ago

This PR addresses a node-gyp build error when using GCC 14 by adding a cflag to ignore that error type.

This error only occurs when there is no prebuilt for the node release that the user has installed.

GCC 14 changed incompatible-pointer-types to be an error instead of a warning https://gcc.gnu.org/gcc-14/porting_to.html. This causes the node-gyp build to fail on newer linux distros.