Can't build MuseScore on Mandriva 2011.0 - error: invalid conversion from from 'const SLine*' to 'SLine*' [-fpermi

• Nov 8, 2011 - 19:17
Type
Functional
Severity
S4 - Minor
Status
closed
Project

When trying to build MuseScore 1.1 with the Mdv 2011.0 provided gcc (ver .4.6.1) the building process fails at exportxml.cpp with the message error below:
***********************
/home/giovannimariani/rpm/BUILD/mscore-1.1/mscore/mscore/exportxml.cpp: In function 'void directionTag(Xml&, Attributes&, Element*)':
/home/giovannimariani/rpm/BUILD/mscore-1.1/mscore/mscore/exportxml.cpp:2366:59: error: invalid conversion from 'const SLine*' to 'SLine*' [-fpermissive]
make[2]: *** [mscore/CMakeFiles/mscore.dir/exportxml.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
make: *** [all] Error 2
*********************
With an older gcc (4.4.3), however, the build completes successfully.


Comments