Source: musescore
Severity: minor
Tags: patch
User: [email protected]
Usertags: clang-ftbfs

Hello,

Using the rebuild infrastructure, your package fails to build with clang 
(instead of gcc).

We detected this kinf of error:
http://clang.debian.net/status.php?version=3.4.2&key=NON-POD

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/musescore_1.3+dfsg-2_unstable_clang.log

Thanks,
Alexander


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- musescore-1.3+dfsg/mscore/mscore/rendermidi.cpp	2013-02-27 06:28:55.000000000 -0500
+++ musescore-1.3+dfsg-my/mscore/mscore/rendermidi.cpp	2014-06-19 17:18:51.918642285 -0400
@@ -556,7 +556,7 @@
 #ifdef Q_WS_MAC
       QList<OttavaShiftSegment>* osl = new QList<OttavaShiftSegment>[ns];
 #else
-      QList<OttavaShiftSegment> osl[ns];
+      QList<OttavaShiftSegment> *osl = static_cast<QList<OttavaShiftSegment> *>(alloca(sizeof(QList<OttavaShiftSegment>) * ns));
 #endif
 
       //
@@ -579,7 +579,7 @@
 #ifdef Q_WS_MAC
       VeloList *velo = new VeloList[ns];
 #else
-      VeloList velo[ns];
+      VeloList *velo = static_cast<VeloList *>(alloca(sizeof(VeloList) * ns));
 #endif
       
       for (int staffIdx = 0; staffIdx < nstaves(); ++staffIdx) {

Reply via email to