Doing so actually reveals the problem, it just doesn't compile that way at
all, hinting at not having found a suitable finction to match that type
It does compile when changing to
xml.tagE(QString("bracket type=\"%1\" span=\"%2\"").arg((signed
char)(i._bracket)).arg(i._bracketSpan));
Deas that then show the correct result for you?

While looking at these I found a related bug...
In groups.cpp, line 180 it uses
xml.tagE(QString("Node pos=\"%1\" action=\"%3\"")
.arg(n.pos).arg(n.action));
rather than
xml.tagE(QString("Node pos=\"%1\" action=\"%2\"")
.arg(n.pos).arg(n.action));

And there are quite a few 'printf' style usages in exportxmp.cpp.

Guess I'll do a PR for all this, but would first want to hear whether the
top change fixes your issue on Mac

Bye, Jojo 

-----Original Message-----
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] 
Sent: Sunday, April 26, 2015 5:48 PM
To: 'mscore-developer@lists.sourceforge.net'
Subject: RE: [Mscore-developer] running tests on mac via xcode

Could you try whether this works as expected?

xml.tagE(QString("bracket type=\"%1\"
span=\"%2\"").arg(i._bracket).arg(i._bracketSpan));

This is the syntax used almost anywhere else in MuseScore

-----Original Message-----
From: Joachim Schmitz [mailto:j...@schmitz-digital.de] 
Sent: Sunday, April 26, 2015 5:38 PM
To: 'mscore-developer@lists.sourceforge.net'
Subject: RE: [Mscore-developer] running tests on mac via xcode

Hi ABL

You are submitting a PR for that?

Bye, Jojo

-----Original Message-----
From: ABL [mailto:antonio.lo...@alice.it] 
Sent: Sunday, April 26, 2015 4:11 PM
To: mscore-developer@lists.sourceforge.net
Subject: Re: [Mscore-developer] running tests on mac via xcode

@Jojo-Schmitz :
Yes, using %hhd instead of %d returns the expected -1 instead of 255.
%c gives strange results.

Ciao,
ABL


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to