[go: up one dir, main page]

Fails to build on Windows with glib 2.84

In file included from D:/M/msys64/ucrt64/include/glib-2.0/glib.h:107,
                 from D:/_/B/src/inkscape-1.4/src/path/splinefit/splinefont.h:6,
                 from D:/_/B/src/inkscape-1.4/src/path/splinefit/splinefit.h:33,
                 from D:/_/B/src/inkscape-1.4/src/path/splinefit/bezier-fit.cpp:10:
D:/M/msys64/ucrt64/include/glib-2.0/glib/gwin32.h:178:1: error: template with C linkage
  178 | template <typename com_interface>
      | ^~~~~~~~
D:/_/B/src/inkscape-1.4/src/path/splinefit/bezier-fit.cpp:9:1: note: 'extern "C"' linkage started here
    9 | extern "C" {
      | ^~~~~~~~~~

The issue in glib is https://gitlab.gnome.org/GNOME/glib/-/issues/3631, but it was pointed out there that it should be fixed downstream, so I'm reporting it here.