We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm receiving 2 different issues:
Both GCC_ENABLE_CPP_EXCEPTIONS and GCC_SYMBOLS_PRIVATE_EXTERN are set to YES.
GCC_ENABLE_CPP_EXCEPTIONS
GCC_SYMBOLS_PRIVATE_EXTERN
YES
I was able to workaround the issue, changing the way bcrypt throws exceptions, from what I saw here e.g.:
bcrypt
Napi::TypeError::New(env, "1 argument expected"); return Napi::Value();
instead of
throw Napi::TypeError::New(env, "4 arguments expected");
Tho, not the best solution.
For the NAPI Exception support not detected, for now, I just add this here:
'defines': [ '_GNU_SOURCE', 'NAPI_DISABLE_CPP_EXCEPTIONS', ],
What did you expect to happen? Compile sucessfully
Which version of nodejs and OS? Node v18.18.2 MacBook Pro M1 - MacOS Sonoma 14.2.1 Xcode 15.2
If you find a bug, please write a failing test.
Thanks in advance for you time!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not sure if related with this package or with node-addon-api. So please, my apoligies if is not this repo.
I'm receiving 2 different issues:
Both
GCC_ENABLE_CPP_EXCEPTIONS
andGCC_SYMBOLS_PRIVATE_EXTERN
are set toYES
.I was able to workaround the issue, changing the way
bcrypt
throws exceptions, from what I saw here e.g.:instead of
Tho, not the best solution.
For the NAPI Exception support not detected, for now, I just add this here:
What did you expect to happen?
Compile sucessfully
Which version of nodejs and OS?
Node v18.18.2
MacBook Pro M1 - MacOS Sonoma 14.2.1
Xcode 15.2
If you find a bug, please write a failing test.
Thanks in advance for you time!
The text was updated successfully, but these errors were encountered: