Package: spacearyarya 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). Detected this kind of error: http://clang.debian.net/status.php?version=3.6.0&key=FUNCTION_RETURNS_VALUE Full build log is available here: http://clang.debian.net/logs/2015-03-25/spacearyarya_1.0.2-7_unstable_clang.log I have attached a patch to fix this error. Regards, --Arthur Marble -- System Information: Debian Release: sid (unstable) Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-1-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE="en_US.UTF-8" Shell: /bin/sh linked to /bin/dash Compiler: Debian clang version 3.6.2-3 (based on LLVM 3.6.2)
--- a/src/ranking.c +++ b/src/ranking.c @@ -15,7 +15,7 @@ if (Ranking[i]->Score < Root->Score) break; if (i == 5) - return; + return 0; if (i != 4) { for (j = 4; j > i; j --) memcpy(Ranking[j], Ranking[j - 1], sizeof(RankingData));