Skip to content

SWIG wrapper can't build for node 24 #280

@justadreamer

Description

@justadreamer

Background

See: https://github.com/51Degrees/device-detection-node/actions/runs/15010994532/job/42179609476

In file included from /home/runner/.cache/node-gyp/24.0.1/include/node/cppgc/common.h:8,
                   from /home/runner/.cache/node-gyp/24.0.1/include/node/v8.h:23,
                   from /home/runner/.cache/node-gyp/24.0.1/include/node/node.h:74,
                   from ../hash_node_wrap.cxx:144:
  /home/runner/.cache/node-gyp/24.0.1/include/node/v8config.h:13:2: error: #error "C++20 or later required."
     13 | #error "C++20 or later required."
        |  ^~~~~

and further errors

Objective

Update node-gyp and other files as required to enable building for node 24

Metadata

Metadata

Assignees

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