romgrk / node-gtk

GTK+ bindings for NodeJS (via GObject introspection)
MIT License
493 stars 41 forks source link

NPM installation fails with a v8-related compile error on Node v22.2 w/ GCC 14.1.1 #363

Open paulie-g opened 2 months ago

paulie-g commented 2 months ago

OS: Arch Linux latest Node: v22.2.0 GCC: 14.1.1

There were some other errors I was able to work around with CXX_FLAGS='-fpermissive', but this one stops the show:

635 error ../src/gobject.cc: In function ‘v8::MaybeLocal<v8::FunctionTemplate> GNodeJS::NewClassTemplate(GType)’:                                                                                                                                                                                                                                                                         
635 error ../src/gobject.cc:554:43: error: no matching function for call to ‘v8::NamedPropertyHandlerConfiguration::NamedPropertyHandlerConfiguration()’                                                                                                                                                                                                                                  
635 error   554 |     v8::NamedPropertyHandlerConfiguration config;