libvips (now a dependency of npm, since #33724) fails to build with errors like
/mnt/sw/nix/store/xp0zl2i92x4irzl9g2gg2ladx29z1hzv-gcc-11.3.0/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../include/c++/11.3.0/type_traits:44:3: error: template with C linkage
44 | template<typename... _Elements>
| ^~~~~~~~
In file included from bicubic.cpp:52:
../../libvips/include/vips/vips.h:84:1: note: 'extern "C"' linkage started here
84 | extern "C" {
| ^~~~~~~~~~
In file included from /mnt/sw/nix/store/4xv5f19zshh5179arqbd8mdlbm5dvnc0-glib-2.74.1/include/glib-2.0/glib/glib-typeof.h:44,
from /mnt/sw/nix/store/4xv5f19zshh5179arqbd8mdlbm5dvnc0-glib-2.74.1/include/glib-2.0/glib/gatomic.h:30,
from /mnt/sw/nix/store/4xv5f19zshh5179arqbd8mdlbm5dvnc0-glib-2.74.1/include/glib-2.0/glib/gthread.h:34,
from /mnt/sw/nix/store/4xv5f19zshh5179arqbd8mdlbm5dvnc0-glib-2.74.1/include/glib-2.0/glib/gasyncqueue.h:34,
from /mnt/sw/nix/store/4xv5f19zshh5179arqbd8mdlbm5dvnc0-glib-2.74.1/include/glib-2.0/glib.h:34,
from ../../libvips/include/vips/vips.h:87,
from bicubic.cpp:52:
This seems to be due to this issue, which has been long fixed in more recent libvips versions: libvips/libvips#1987
libvips (now a dependency of npm, since #33724) fails to build with errors like
This seems to be due to this issue, which has been long fixed in more recent libvips versions: libvips/libvips#1987