Skip to content

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

@VictorNetflix

Description

@VictorNetflix

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions