Skip to content

Install fails with Node v23, due to -std=c++17. #238

Description

@magnusriga

Would it be possible to update binding.gyp, from -std=c++17 to -std=c++20 (or higher)?

A minimum of C++20 is required in Node 23:

https://github.com/nodejs/node/blob/9d2368f64329bf194c4e82b349e76fdad879d32a/deps/v8/include/v8config.h#L13

Without it, building tree-sitter will fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions