Source: fte 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). See build logs here: http://clang.debian.net/logs/2014-01-14/fte_0.50.2b6-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
--- fte-0.50.2b6/src/con_linux.cpp 2011-06-29 18:32:34.000000000 -0400 +++ fte-0.50.2b6-my/src/con_linux.cpp 2014-05-23 17:57:05.759205780 -0400 @@ -431,7 +431,7 @@ return 1; TDrawBuffer B; - TCell C[W * H]; + TCell *C = reinterpret_cast<TCell *>(alloca(sizeof(TCell) * (W * H))); #ifdef USE_SCRNMAP noCharTrans = 1; #endif --- fte-0.50.2b6/src/con_ncurses.cpp 2011-06-29 18:32:34.000000000 -0400 +++ fte-0.50.2b6-my/src/con_ncurses.cpp 2014-05-23 17:58:36.123122928 -0400 @@ -298,7 +298,7 @@ int ConSetBox(int X, int Y, int W, int H, TCell Cell) { - TCell line[W]; + TCell *line = reinterpret_cast<TCell *>(alloca(sizeof(TCell) *W)); for (int i = 0; i < W; ++i) line[i] = Cell; @@ -310,7 +310,7 @@ int ConScroll(int Way, int X, int Y, int W, int H, TAttr Fill, int Count) { - TCell box[W * H]; + TCell *box = reinterpret_cast<TCell *>(alloca(sizeof(TCell) * (W * H))); ConGetBox(X, Y, W, H, box); //TCell fill(' ', Fill); --- fte-0.50.2b6/src/con_slang.cpp 2011-06-29 18:32:34.000000000 -0400 +++ fte-0.50.2b6-my/src/con_slang.cpp 2014-05-23 17:59:49.777663618 -0400 @@ -340,7 +340,7 @@ int ConSetBox(int X, int Y, int W, int H, TCell Cell) { - TCell line[W]; + TCell *line = reinterpret_cast<TCell *>(alloca(sizeof(TCell) * W)); for (int i = 0; i < W; i++) line[i] = Cell;