Follow-up Comment #2, bug #66202 (group denemo): [comment #1 commentaire #1 :] > Would it help the compiler to write > > ((GString*)d2->a)->str : "empty"
No:
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");
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66202>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
