Source: sfst
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).
See build logs here:
http://clang.debian.net/logs/2014-01-14/sfst_1.4.6g-3_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
--- sfst-1.4.6g/src/compact.C 2013-04-16 05:49:37.000000000 -0400
+++ sfst-1.4.6g-my/src/compact.C 2014-06-01 14:47:18.643386615 -0400
@@ -264,7 +264,7 @@
{
size_t N=0;
- Label Num2Label[alphabet.size()];
+ Label *Num2Label = reinterpret_cast<Label *>(alloca(sizeof(Label) * alphabet.size()));
for( Alphabet::const_iterator it=alphabet.begin();
it != alphabet.end(); it++ )
{