URL:
  <https://savannah.gnu.org/bugs/?66203>

                 Summary:  error: passing argument 8 of 'g_spawn_sync' from
incompatible pointer type [-Wincompatible-pointer-types]
                   Group: Denemo
               Submitter: papoteur_mga
               Submitted: mer. 11 sept. 2024 12:21:08
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: mer. 11 sept. 2024 12:21:08    By: Anonymous
Building latest snapshot with GCC 14 give errors:

gcc -DHAVE_CONFIG_H -I. -I..    -I../intl -I../include -I../libs/libsffile
-I../pixmaps -DPREFIX=\"/usr\" -DBINDIR=\"/usr/bin\"
-DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc/denemo/\"
-DPKGDATADIR=\"/usr/share/denemo/\" -DDATAROOTDIR=\"/usr/share/\"
-DPKGNAME=\"denemo\" -DG_LOG_DOMAIN=\"Denemo\" -I../libs/libsmf   -O2 -g -pipe
-Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full
-fdiagnostics-color=auto -I/usr/include/guile/2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread
-I/usr/include/libxml2 -I/usr/include/librsvg-2.0
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount
-I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid
-I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -lgthread-2.0
-pthread -lglib-2.0 -lsndfile   -D_WITH_AUBIO_4_ -I/usr/include/gtk-3.0
-I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1
-I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid
-I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread
-I/usr/include/gtksourceview-4 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0
-I/usr/include/cloudproviders -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid
-I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread
-I/usr/include/libxml2 -I/usr/include/fribidi  -I/usr/include/atril/1.5.0
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1
-I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid
-I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DUSE_EVINCE
-DUSE_ATRIL -D_HAVE_FLUIDSYNTH_ -I/usr/include/pipewire-0.3
-I/usr/include/spa-0.2 -D_REENTRANT -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/libinstpatch-2
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6
-pthread -I/usr/include/opus -I/usr/include/speex -D_DEFAULT_SOURCE
-D_XOPEN_SOURCE=600 -D_HAVE_RUBBERBAND_ -I/usr/include/pipewire-0.3
-I/usr/include/spa-0.2 -D_REENTRANT -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/libinstpatch-2
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6
-pthread -I/usr/include/opus -I/usr/include/speex -D_DEFAULT_SOURCE
-D_XOPEN_SOURCE=600 -D_HAVE_PORTAUDIO_ -pthread  -D_HAVE_PORTMIDI_
-D_HAVE_X11_ -c -o export/print.o export/print.c
make[2]: Leaving directory '/builddir/build/BUILD/denemo-f6855a6/src'
export/print.c: In function 'open_viewer':
export/print.c:479:6: warning: 'g_spawn_check_exit_status' is deprecated: Use
'g_spawn_check_wait_status' instead [-Wdeprecated-declarations]
  479 |      if (!g_spawn_check_exit_status (status, &err))
      |      ^~
In file included from /usr/include/glib-2.0/glib.h:84,
                 from /usr/include/glib-2.0/glib/gprintf.h:23,
                 from /usr/include/glib-2.0/glib/gstdio.h:24,
                 from export/print.c:15:
/usr/include/glib-2.0/glib/gspawn.h:315:10: note: declared here
  315 | gboolean g_spawn_check_exit_status (gint      wait_status,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
export/print.c: In function 'run_lilypond':
export/print.c:583:18: error: passing argument 7 of 'g_spawn_sync' from
incompatible pointer type [-Wincompatible-pointer-types]
  583 |                  &dummystdout,    /* stdout */
      |                  ^~~~~~~~~~~~
      |                  |
      |                  guint * {aka unsigned int *}
/usr/include/glib-2.0/glib/gspawn.h:295:54: note: expected 'gchar **' {aka
'char **'} but argument is of type 'guint *' {aka 'unsigned int *'}
  295 |                                gchar               **standard_output,
      |                                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
export/print.c:584:18: error: passing argument 8 of 'g_spawn_sync' from
incompatible pointer type [-Wincompatible-pointer-types]
  584 |                  &dummystderr, /* stderr */
      |                  ^~~~~~~~~~~~
      |                  |
      |                  guint * {aka unsigned int *}
/usr/include/glib-2.0/glib/gspawn.h:296:54: note: expected 'gchar **' {aka
'char **'} but argument is of type 'guint *' {aka 'unsigned int *'}
  296 |                                gchar               **standard_error,
      |                                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
make[2]: *** [Makefile:1318: export/print.o] Error 1
make[2]: *** Waiting for unfinished jobs....







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66203>

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to