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

Compile error "remove_cv_t" is not a member of "std" with Node 16 #3

Open
VictorNetflix opened this issue Jun 28, 2022 · 0 comments
Open

Comments

@VictorNetflix
Copy link

I get a compile error when I install this library with Node 16 because the header ".../node-gyp/16.15.1/include/node/v8-internal.h" declares "remove_cv_t" which is not recognized by "-std=c++11" currently set in this library's "binding.gyp"

Related info: "Does Google's V8 require C++14 standard?" https://stackoverflow.com/questions/64769506/does-googles-v8-require-c14-standard

So I think "binding.gyp" needs to change the flag "-std=c++11" to "-std=c++14" in order to make this library compatible with Node 16. Does that sound right?

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