compilation error
While compiling MuseScore under Debian, the rule stopped with the following message :
[ 23%] Building CXX object mscore/CMakeFiles/mscore.dir/exportxml.cpp.o
/home/bertrand/documents/prg/mscore-1.1/mscore/mscore/exportxml.cpp: In function ‘void directionTag(Xml&, Attributes&, Element*)’:
/home/bertrand/documents/prg/mscore-1.1/mscore/mscore/exportxml.cpp:2366:59: error: invalid conversion from ‘const SLine*’ to ‘SLine*’ [-fpermissive]
make[4]: *** [mscore/CMakeFiles/mscore.dir/exportxml.cpp.o] Erreur 1
make[4]: quittant le répertoire « /home/bertrand/documents/prg/mscore-1.1/build »
make[3]: *** [mscore/CMakeFiles/mscore.dir/all] Erreur 2
make[3]: quittant le répertoire « /home/bertrand/documents/prg/mscore-1.1/build »
make[2]: *** [all] Erreur 2
make[2]: quittant le répertoire « /home/bertrand/documents/prg/mscore-1.1/build »
make[1]: *** [release] Erreur 2
make[1]: quittant le répertoire « /home/bertrand/documents/prg/mscore-1.1 »
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Erreur 2
Comments
I cannot reproduce this. What compilerversion are you using? ("gcc --version")
gcc (Debian 4.6.1-13) 4.6.1
strange, i use the same compiler (gcc 4.6.1 on kubuntu) and have no problem compiling the branch. Tested with "debug" and "release" version.
This compilation error has been fixed in the branch after the release of 1.1.
See http://musescore.org/en/node/12108 patch 22-fix-casting.patch
Automatically closed -- issue fixed for 2 weeks with no activity.