-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
node-gyp ignores (c++17) cflag #1543
Comments
Maybe try |
This works. Thanks. |
If you are on Mac, it is actually
It wouldn't work for me otherwise... |
aosq
pushed a commit
to slackhq/tree-sitter-hack
that referenced
this issue
Jul 30, 2020
Augmented assignment coalesce ??= looks like a C trigraph. Ignore trigraphs. https://en.wikipedia.org/wiki/Digraphs_and_trigraphs#cite_ref-Rationale_2003_C_4-0:~:text=%3F%3F%3D nodejs/node-gyp#1543 (comment)
In case anyone reaches here and can't get windows builds to work - see #1662 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I try to configure & build a node.js C++ addon with this
binding.gyp file:
But when I run
node-gyp configure
andnode-gype rebuild
I always get messages like
The build also fails, because I really depend on these c++17 features. What am I doing wrong?
The text was updated successfully, but these errors were encountered: