URL: <https://savannah.gnu.org/bugs/?66202>
Summary: command/lilydirectives.c:49:239: error: pointer type
mismatch in conditional expression [-Wincompatible-pointer-types]
Group: Denemo
Submitter: papoteur_mga
Submitted: mer. 11 sept. 2024 12:18:59
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:18:59 By: Anonymous
Building the 2.6.36 snapshot with GCC 14 give errors:
cc -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 command/lilydirectives.o command/lilydirectives.c
command/lilydirectives.c: In function 'difference_of_directive':
command/lilydirectives.c:49:239: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:51:7: note: in expansion of macro 'NEQ'
51 | NEQ(prefix);
| ^~~
command/lilydirectives.c:49:219: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:51:7: note: in expansion of macro 'NEQ'
51 | NEQ(prefix);
| ^~~
command/lilydirectives.c:49:240: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:51:7: note: in expansion of macro 'NEQ'
51 | NEQ(prefix);
| ^~~
command/lilydirectives.c:49:276: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:51:7: note: in expansion of macro 'NEQ'
51 | NEQ(prefix);
| ^~~
command/lilydirectives.c:49:255: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:51:7: note: in expansion of macro 'NEQ'
51 | NEQ(prefix);
| ^~~
command/lilydirectives.c:49:278: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:51:7: note: in expansion of macro 'NEQ'
51 | NEQ(prefix);
| ^~~
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 4 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:51:7: note: in expansion of macro 'NEQ'
51 | NEQ(prefix);
| ^~~
command/lilydirectives.c:49:165: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
~^
|
|
|
char *
|
%p
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 5 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:51:7: note: in expansion of macro 'NEQ'
51 | NEQ(prefix);
| ^~~
command/lilydirectives.c:49:187: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
~^
|
|
|
char *
|
%p
command/lilydirectives.c:49:239: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:52:7: note: in expansion of macro 'NEQ'
52 | NEQ(postfix);
| ^~~
command/lilydirectives.c:49:219: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:52:7: note: in expansion of macro 'NEQ'
52 | NEQ(postfix);
| ^~~
command/lilydirectives.c:49:240: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:52:7: note: in expansion of macro 'NEQ'
52 | NEQ(postfix);
| ^~~
command/lilydirectives.c:49:276: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:52:7: note: in expansion of macro 'NEQ'
52 | NEQ(postfix);
| ^~~
command/lilydirectives.c:49:255: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:52:7: note: in expansion of macro 'NEQ'
52 | NEQ(postfix);
| ^~~
command/lilydirectives.c:49:278: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:52:7: note: in expansion of macro 'NEQ'
52 | NEQ(postfix);
| ^~~
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 4 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:52:7: note: in expansion of macro 'NEQ'
52 | NEQ(postfix);
| ^~~
command/lilydirectives.c:49:165: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
~^
|
|
|
char *
|
%p
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 5 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:52:7: note: in expansion of macro 'NEQ'
52 | NEQ(postfix);
| ^~~
command/lilydirectives.c:49:187: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
~^
|
|
|
char *
|
%p
command/lilydirectives.c:49:239: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:53:7: note: in expansion of macro 'NEQ'
53 | NEQ(display);
| ^~~
command/lilydirectives.c:49:219: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:53:7: note: in expansion of macro 'NEQ'
53 | NEQ(display);
| ^~~
command/lilydirectives.c:49:240: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:53:7: note: in expansion of macro 'NEQ'
53 | NEQ(display);
| ^~~
command/lilydirectives.c:49:276: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:53:7: note: in expansion of macro 'NEQ'
53 | NEQ(display);
| ^~~
command/lilydirectives.c:49:255: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:53:7: note: in expansion of macro 'NEQ'
53 | NEQ(display);
| ^~~
command/lilydirectives.c:49:278: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:53:7: note: in expansion of macro 'NEQ'
53 | NEQ(display);
| ^~~
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 4 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:53:7: note: in expansion of macro 'NEQ'
53 | NEQ(display);
| ^~~
command/lilydirectives.c:49:165: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
~^
|
|
|
char *
|
%p
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 5 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:53:7: note: in expansion of macro 'NEQ'
53 | NEQ(display);
| ^~~
command/lilydirectives.c:49:187: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
~^
|
|
|
char *
|
%p
command/lilydirectives.c:49:239: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:54:7: note: in expansion of macro 'NEQ'
54 | NEQ(midibytes);
| ^~~
command/lilydirectives.c:49:219: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:54:7: note: in expansion of macro 'NEQ'
54 | NEQ(midibytes);
| ^~~
command/lilydirectives.c:49:240: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:54:7: note: in expansion of macro 'NEQ'
54 | NEQ(midibytes);
| ^~~
command/lilydirectives.c:49:276: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:54:7: note: in expansion of macro 'NEQ'
54 | NEQ(midibytes);
| ^~~
command/lilydirectives.c:49:255: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:54:7: note: in expansion of macro 'NEQ'
54 | NEQ(midibytes);
| ^~~
command/lilydirectives.c:49:278: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:54:7: note: in expansion of macro 'NEQ'
54 | NEQ(midibytes);
| ^~~
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 4 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:54:7: note: in expansion of macro 'NEQ'
54 | NEQ(midibytes);
| ^~~
command/lilydirectives.c:49:165: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
~^
|
|
|
char *
|
%p
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 5 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:54:7: note: in expansion of macro 'NEQ'
54 | NEQ(midibytes);
| ^~~
command/lilydirectives.c:49:187: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
~^
|
|
|
char *
|
%p
command/lilydirectives.c:49:239: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:55:7: note: in expansion of macro 'NEQ'
55 | NEQ(graphic_name);
| ^~~
command/lilydirectives.c:49:219: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:55:7: note: in expansion of macro 'NEQ'
55 | NEQ(graphic_name);
| ^~~
command/lilydirectives.c:49:240: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:55:7: note: in expansion of macro 'NEQ'
55 | NEQ(graphic_name);
| ^~~
command/lilydirectives.c:49:276: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:55:7: note: in expansion of macro 'NEQ'
55 | NEQ(graphic_name);
| ^~~
command/lilydirectives.c:49:255: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:55:7: note: in expansion of macro 'NEQ'
55 | NEQ(graphic_name);
| ^~~
command/lilydirectives.c:49:278: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:55:7: note: in expansion of macro 'NEQ'
55 | NEQ(graphic_name);
| ^~~
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 4 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:55:7: note: in expansion of macro 'NEQ'
55 | NEQ(graphic_name);
| ^~~
command/lilydirectives.c:49:165: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
~^
|
|
|
char *
|
%p
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 5 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:55:7: note: in expansion of macro 'NEQ'
55 | NEQ(graphic_name);
| ^~~
command/lilydirectives.c:49:187: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
~^
|
|
|
char *
|
%p
command/lilydirectives.c:49:239: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:56:7: note: in expansion of macro 'NEQ'
56 | NEQ(grob);
| ^~~
command/lilydirectives.c:49:219: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:56:7: note: in expansion of macro 'NEQ'
56 | NEQ(grob);
| ^~~
command/lilydirectives.c:49:240: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:56:7: note: in expansion of macro 'NEQ'
56 | NEQ(grob);
| ^~~
command/lilydirectives.c:49:276: error: pointer type mismatch in conditional
expression [-Wincompatible-pointer-types]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^
command/lilydirectives.c:56:7: note: in expansion of macro 'NEQ'
56 | NEQ(grob);
| ^~~
command/lilydirectives.c:49:255: note: first expression has type 'GString *'
{aka 'struct _GString *'}
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~
command/lilydirectives.c:56:7: note: in expansion of macro 'NEQ'
56 | NEQ(grob);
| ^~~
command/lilydirectives.c:49:278: note: second expression has type 'char *'
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~
command/lilydirectives.c:56:7: note: in expansion of macro 'NEQ'
56 | NEQ(grob);
| ^~~
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 4 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:56:7: note: in expansion of macro 'NEQ'
56 | NEQ(grob);
| ^~~
command/lilydirectives.c:49:165: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
~^
|
|
|
char *
|
%p
command/lilydirectives.c:49:95: warning: format '%s' expects argument of type
'char *', but argument 5 has type 'void *' [-Wformat=]
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
void *
command/lilydirectives.c:56:7: note: in expansion of macro 'NEQ'
56 | NEQ(grob);
| ^~~
command/lilydirectives.c:49:187: note: format string is defined here
49 | #define NEQ(a) if(!compare_gstring((GString*)d1->a, (GString*)d2->a))
return g_strdup_printf ("\nDirective tagged %s differ in the \"%s\"
field.\nfirst score has: %s\nsecond score has: %s", d1->tag->str, STR(a),
d1->a?(GString*)d1->a->str:"empty",d2->a? (GString*)d2->a->str : "empty");
|
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66202>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
