Package: qjoypad
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/qjoypad_4.1.0-1_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
--- qjoypad-4.1.0/src/layout_edit.cpp 2013-10-08 21:11:42.000000000 -0400
+++ qjoypad-4.1.0-my/src/layout_edit.cpp 2014-06-19 17:24:18.343467352 -0400
@@ -39,7 +39,7 @@
//this is only necesary since joystick devices need not always be
//contiguous
int padcount = available.count();
- QString names[padcount];
+ QString *names = static_cast<QString *>(alloca(sizeof(QString) * padcount));
int i = 0;
do
{
@@ -119,7 +119,7 @@
int indexOfFlashRadio = LMain->indexOf(JoyButtons);
FlashRadioArray *newJoyButtons;
int padcount = available.count();
- QString names[padcount];
+ QString *names = static_cast<QString *>(alloca(sizeof(QString) * padcount));
int i = 0;
do
{