Problem compiling goffice under MSYS2



Dear all,

Now libgsf compiles under MSYS2, but I have a problem with goffice.
When I compile goffice, I get the error message below.
It is an error with the isnanl function being implicitly declared.
I don't get this error under Linux.
Any help would be appreciated.

All the best,

Frédéric

----------------

$ make
Making all in goffice
make[1]: Entering directory '/home/parre/goffice-master/goffice'
if ! [ -x utils ]; then mkdir utils; fi && \
glib-genmarshal --prefix=go_ --header utils/go-marshalers.list >utils/go-marshalers.h
INFO: Reading utils/go-marshalers.list...
creating goffice-paths.h
cd . && perl /home/parre/goffice-master/tools/embedder \
        --id-prefix=go: \
        --static \
        --register-function=go_register_ui_files \
        --register-file-function=go_rsm_register_file \
        COMPRESS graph/gog-3d-box-prefs.ui graph/gog-axis-prefs.ui graph/gog-axis-color-map-prefs.ui graph/gog-color-scale-prefs.ui graph/gog-equation-prefs.ui graph/gog-error-bar-prefs.ui graph/gog-graph-prefs.ui graph/gog-guru-type-selector.ui graph/gog-guru.ui graph/gog-object-prefs.ui graph/gog-plot-prefs.ui graph/gog-reg-curve-prefs.ui graph/gog-reg-eqn-prefs.ui graph/gog-series-labels-prefs.ui graph/gog-series-prefs.ui graph/gog-theme-editor.ui graph/new-theme-prefs.ui gtk/go-3d-rotation-sel.ui gtk/go-arrow-sel.ui gtk/go-font-sel.ui gtk/go-format-sel.ui gtk/go-image-save-dialog-extra.ui gtk/go-image-sel.ui gtk/go-rotation-sel.ui utils/go-style-prefs.ui \         NOCOMPRESS gtk/goffice-old.css gtk/goffice.css utils/svg-patterns.xml utils/unknown_image.png graph/bar-none.png graph/bar-vplus.png graph/bar-vminus.png graph/bar-vboth.png graph/bar-hplus.png graph/bar-hminus.png graph/bar-hboth.png \
        >/home/parre/goffice-master/goffice/embedded-stuff.c
make  all-am
make[2]: Entering directory '/home/parre/goffice-master/goffice'
  CC       goffice.lo
goffice.c: In function 'install_icons':
goffice.c:131:2: warning: 'gtk_icon_theme_add_builtin_icon' is deprecated: Use 'gtk_icon_theme_add_resource_path' instead [-Wdeprecated-declarations]
  131 |  gtk_icon_theme_add_builtin_icon ("unknown_image",
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:127,
                 from ../goffice/goffice.h:30,
                 from goffice.c:23:
C:/msys64/mingw64/include/gtk-3.0/gtk/gtkicontheme.h:275:15: note: declared here   275 | void          gtk_icon_theme_add_builtin_icon      (const gchar *icon_name,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       app/go-doc.lo
  CC       app/go-doc-control.lo
  CC       app/go-view.lo
  CC       app/go-plugin.lo
  CC       app/go-plugin-loader.lo
  CC       app/go-plugin-loader-module.lo
  CC       app/go-plugin-service.lo
  CC       app/file.lo
  CC       app/error-info.lo
  CC       app/io-context.lo
  CC       app/go-cmd-context.lo
  CC       app/go-conf.lo
  CC       canvas/goc-arc.lo
canvas/goc-arc.c: In function 'prepare_draw_arrow':
canvas/goc-arc.c:230:2: warning: #warning "FIXME: this should use go_arrow_draw" [-Wcpp]
  230 | #warning "FIXME: this should use go_arrow_draw"
      |  ^~~~~~~
  CC       canvas/goc-canvas.lo
  CC       canvas/goc-circle.lo
  CC       canvas/goc-ellipse.lo
  CC       canvas/goc-graph.lo
  CC       canvas/goc-group.lo
  CC       canvas/goc-item.lo
  CC       canvas/goc-image.lo
  CC       canvas/goc-line.lo
  CC       canvas/goc-path.lo
  CC       canvas/goc-pixbuf.lo
  CC       canvas/goc-polyline.lo
  CC       canvas/goc-polygon.lo
  CC       canvas/goc-rectangle.lo
  CC       canvas/goc-styled-item.lo
  CC       canvas/goc-text.lo
  CC       canvas/goc-utils.lo
  CC       data/go-data.lo
  CC       data/go-data-simple.lo
  CC       graph/gog-object.lo
  CC       graph/gog-object-xml.lo
  CC       graph/gog-styled-object.lo
  CC       graph/gog-outlined-object.lo
  CC       graph/gog-view.lo
  CC       graph/gog-graph.lo
graph/gog-graph.c: In function 'gog_graph_view_handle_event':
graph/gog-graph.c:1192:5: warning: 'gdk_window_process_updates' is deprecated [-Wdeprecated-declarations]
 1192 |     gdk_window_process_updates (window, TRUE);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/msys64/mingw64/include/gtk-3.0/gdk/gdkseat.h:28,
                 from C:/msys64/mingw64/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from C:/msys64/mingw64/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from C:/msys64/mingw64/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from C:/msys64/mingw64/include/gtk-3.0/gdk/gdk.h:32,
                 from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:30,
                 from ../goffice/goffice.h:30,
                 from ../goffice/app/go-doc.h:24,
                 from graph/gog-graph.c:23:
C:/msys64/mingw64/include/gtk-3.0/gdk/gdkwindow.h:1069:12: note: declared here
 1069 | void       gdk_window_process_updates     (GdkWindow *window,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       graph/gog-chart.lo
  CC       graph/gog-chart-map.lo
  CC       graph/gog-chart-map-3d.lo
  CC       graph/gog-3d-box.lo
  CC       graph/gog-axis.lo
  CC       graph/gog-axis-line.lo
  CC       graph/gog-axis-color-map.lo
  CC       graph/gog-legend.lo
  CC       graph/gog-color-scale.lo
  CC       graph/gog-label.lo
  CC       graph/gog-grid.lo
  CC       graph/gog-grid-line.lo
  CC       graph/gog-theme.lo
  CC       graph/gog-plot.lo
  CC       graph/gog-plot-engine.lo
  CC       graph/gog-series.lo
  CC       graph/gog-error-bar.lo
  CC       graph/gog-trend-line.lo
  CC       graph/gog-reg-curve.lo
  CC       graph/gog-smoothed-curve.lo
  CC       graph/gog-series-labels.lo
  CC       graph/gog-series-lines.lo
  CC       graph/gog-data-set.lo
  CC       graph/gog-renderer.lo
  CC       math/go-accumulator.lo
  CC       math/go-dtoa.lo
  CC       math/go-math.lo
math/go-math.c: In function 'running_under_buggy_valgrind':
math/go-math.c:55:31: error: implicit declaration of function 'isnanl' [-Werror=implicit-function-declaration]    55 |  if (!(go_pinfl > DBL_MAX && !isnanl (go_pinfl) && isnanl (go_pinfl - go_pinfl)))
      |                               ^~~~~~
cc1.exe: some warnings being treated as errors
make[2]: *** [Makefile:1869: math/go-math.lo] Error 1
make[2]: Leaving directory '/home/parre/goffice-master/goffice'
make[1]: *** [Makefile:1255: all] Error 2
make[1]: Leaving directory '/home/parre/goffice-master/goffice'
make: *** [Makefile:548: all-recursive] Error 1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]