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

Cannot use alternative CXX Library with Electron v20+ #1044

Open
rroessler opened this issue Nov 17, 2022 · 0 comments
Open

Cannot use alternative CXX Library with Electron v20+ #1044

rroessler opened this issue Nov 17, 2022 · 0 comments

Comments

@rroessler
Copy link

Any Electron project (v20+) using native dependencies with alternative c++20, c++2a or c++23 fails to rebuild. This occurs due to the CXX flag being forcibly set to c++17 due to this merge.

Currently there does not appear to be any way to override this other than the hacky solution of using Object.defineProperty for the process.env.CXXFLAGS property and removing the setter (eg: using the API programatically).

Is there any reasoning for not allowing newer library versions?

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

No branches or pull requests

1 participant