Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 19, 2024
Merged

Conversation

my60gb
Copy link
Contributor

@my60gb my60gb commented May 17, 2024

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.

  • Code changes have been tested, or there are no code changes

@my60gb my60gb marked this pull request as ready for review May 17, 2024 17:06
@iCrawl iCrawl merged commit b541c5b into discordjs:main May 19, 2024
100 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants