[CM] compareLexicographically() changed in JUCE
Joel Matthys
jwmatthys at yahoo.com
Tue Jul 1 13:18:48 PDT 2014
I just tried to compile Grace on Linux, and got these errors:
src/SndLib.cpp: In member function ‘int
InstrumentTable::DemoDataSorter::compareElements(juce::XmlElement*,
juce::XmlElement*) const’:
src/SndLib.cpp:455:9: error: ‘const class juce::String’ has no member
named ‘compareLexicographically’
compareLexicographically(&second->getStringAttribute(attributeToSort));
^
src/SndLib.cpp:458:57: error: ‘const class juce::String’ has no member
named ‘compareLexicographically’
result =
first->getStringAttribute(indexString).compareLexicographically(second->getStringAttribute(indexString));
--
It looks like compareLexicographically() has been replaced with
compareNatural() in latest JUCE:
https://github.com/julianstorer/JUCE/commit/3b8855514033e242febc5ae923b34ef44b522bc0
Joel
More information about the Cmdist
mailing list