Package: gosmore
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.2&key=EXPECTED_DECLARATION

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/fribidi_0.19.6-1_unstable_clang.log

Thanks,
Alexander


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- ./libgosm.cpp	2010-07-12 13:03:38.000000000 +0400
+++ ../gosmore-0.0.0.20100711-my/./libgosm.cpp	2014-07-26 03:02:53.249048341 +0400
@@ -144,7 +144,8 @@
     int m[2], c = count, ipos, dir, bits;
     m[0] = GosmIdxSearch (gosmData + idx[count + l], cz) - idx;
     m[1] = m[0] - 1;
-    __int64 distm[2] = { -1, -1 }, big = ((unsigned __int64) 1 << 63) - 1;
+    __int64 distm[2] = { -1, -1 };
+    __int64 big = ((__uint64) 1 << 63) - 1;
     while (c < searchCnt && (distm[0] < big || distm[1] < big)) {
       dir = distm[0] < distm[1] ? 0 : 1;
       if (distm[dir] != -1) {
--- ./libgosm.h	2010-07-12 13:03:38.000000000 +0400
+++ ../gosmore-0.0.0.20100711-my/./libgosm.h	2014-07-26 03:02:33.149407083 +0400
@@ -21,6 +21,7 @@
 #include <inttypes.h>
 #define stricmp strcasecmp
 typedef long long __int64;
+typedef unsigned long long __uint64;
 #endif
 #ifndef M_PI
 #define M_PI 3.14159265358979323846 // Not in math ??
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to