Source: maitreya Severity: minor Tags: patch User: pkg-llvm-t...@lists.alioth.debian.org 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/adolc_2.5.0-3_unstable_clang.log Thanks, Alexander -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- maitreya-7.0.5/src/gui/Painter.cpp 2012-06-21 22:01:57.000000000 +0400 +++ maitreya-7.0.5-my/src/gui/Painter.cpp 2014-06-28 23:38:50.177106259 +0400 @@ -328,7 +328,7 @@ for( i = 0; i < n; i++ ) list.Append( &vlist[i] ); dc->DrawPolygon( (const wxList*)&list, xoffset, yoffset ); #else - wxPoint p[n]; + wxPoint *p = static_cast<wxPoint *>(alloca(sizeof(wxPoint) * n)); for( i = 0; i < n; i++ ) p[i] = points[i].toWxPoint(); dc->DrawPolygon( n, p, xoffset, yoffset ); #endif