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

chore: compile addons with --gnu++17 #36369

Merged
merged 1 commit into from
Nov 17, 2022
Merged

Conversation

deepak1556
Copy link
Member

Description of Change

With Electron 20, V8 uses C++17 features. We updated userland build tools to provide the required compile time flag electron/rebuild#1022. But instead the headers we ship should reflect this change by default similar to Nodejs, refs nodejs/node#38807.

main branch already has this change since we updated to Nodejs v18

Release Notes

Notes: Update common.gypi for native modules to support C++17 features in V8

@deepak1556 deepak1556 requested a review from a team as a code owner November 16, 2022 04:49
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Nov 16, 2022
@deepak1556 deepak1556 added semver/patch backwards-compatible bug fixes backport-check-skip Skip trop's backport validity checking target/20-x-y target/21-x-y PR should also be added to the "21-x-y" branch. 22-x-y labels Nov 16, 2022
@electron-cation electron-cation bot added new-pr 🌱 PR opened in the last 24 hours and removed new-pr 🌱 PR opened in the last 24 hours labels Nov 16, 2022
@deepak1556 deepak1556 merged commit 895f991 into 22-x-y Nov 17, 2022
@deepak1556 deepak1556 deleted the robo/fix_gypi_headers branch November 17, 2022 08:42
@release-clerk
Copy link

release-clerk bot commented Nov 17, 2022

Release Notes Persisted

Update common.gypi for native modules to support C++17 features in V8

@trop
Copy link
Contributor

trop bot commented Nov 17, 2022

I have automatically backported this PR to "20-x-y", please check out #36382

@trop
Copy link
Contributor

trop bot commented Nov 17, 2022

I have automatically backported this PR to "21-x-y", please check out #36383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
22-x-y backport-check-skip Skip trop's backport validity checking merged/21-x-y PR was merged to the "21-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants