-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Electron 32 support #1225
Comments
Looks like You can give it a try and change the c++ Standard from c++17 to c++ 20. Also change the macro NODE_GETTER within macros.lzz from
to
Also within macros.lzz replace |
With all your changes what's left is
|
Oh, yes. You might also replace |
It does indeed compile, thanks! Will you provide a PR in the future? |
I actually already created a branch in my fork repo. But there are issues with setting c++20 option within the Ubuntu container, as it is not known by the used GCC / G++ version but named c++2a instead. Need to figure out how to adjust the build.yml and / or the bindings.gyp. |
Fun fact I'm on Ubuntu (23.10), so I assume it's because the container is just outdated?
|
That seems to be the case. The runner-image documentation states that gcc 9.3.0 is preinstalled, which does not yet support the c++20 option. But newer versions already replaced the c++2a version with c++20, so using c++2a would cause issues :-/. |
Well, the GCC and G++ where available within the Ubuntu 20 repo. I opened up a pull request. |
It's still in beta but I just happened to try to compile better-sqlite3. We're also not alone, e.g. xmppo/node-expat#230
The text was updated successfully, but these errors were encountered: