compilation error

• Oct 3, 2011 - 18:14
Type
Functional
Severity
S4 - Minor
Status
closed
Project

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

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.