Compile error in rendermidi.cpp no member named emplace
S4 - Minor
I am receiving an error trying to compile the latest github source, which was working a couple of weeks ago.
The error message is below (with leading path names omitted):
/libmscore/rendermidi.cpp: In member function ‘void Ms::Score::renderMidi(Ms::EventMap*)’:
/libmscore/rendermidi.cpp:989:38: error: ‘class std::map > >’ has no member named ‘emplace’
Update your compiler to 4.8.1 or newer version (gcc, g++).
I had this problem on 4.7.x versions
Compiles fine under Windows 8.1u1 64-bit with MinGW 4.8.2 (part of Qt 5.3.2).
Thanks for the hint, compiler 4.8.x does indeed resolve this issue.