You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 theprocess.env.CXXFLAGS
property and removing the setter (eg: using the API programatically).Is there any reasoning for not allowing newer library versions?
The text was updated successfully, but these errors were encountered: