Source: writerperfect 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&key=UNUSED_FUNCTION Full build log is available here: http://clang.debian.net/logs/2014-01-14/writerperfect_0.8.2-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
--- writerperfect-0.8.4/src/FemtoZip.cxx 2014-04-09 09:42:13.000000000 -0400 +++ writerperfect-0.8.4-my/src/FemtoZip.cxx 2014-06-17 14:07:39.158656253 -0400 @@ -132,6 +132,7 @@ // see http://www.concentric.net/~Ttwang/tech/inthash.htm +/* static inline unsigned short hash(unsigned short key, unsigned short hashSize) { key = (unsigned short) (key+~(key << 15)); @@ -142,7 +143,7 @@ key = (unsigned short) (key^(key >> 16)); return key % hashSize; } - +*/ // entry record is stored as linked list