Package: gambit 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=WRONG_DEFAULT_DECLARATION Full build log is available here: http://clang.debian.net/logs/2014-06-16/gambit_0.2010.09.01-1.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) 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
--- ./src/libgambit/rational.cc 2010-08-25 17:36:01.000000000 +0400 +++ ../gambit-0.2010.09.01-my/./src/libgambit/rational.cc 2014-07-19 21:32:35.126555426 +0400 @@ -509,10 +509,10 @@ std::string ToText(const Rational &r) { std::string ret; - ret += Itoa(r.numerator()); + ret += Itoa(r.numerator(), 10, 10); if (r.denominator() != Integer(1)) { ret += "/"; - ret += Itoa(r.denominator()); + ret += Itoa(r.denominator(), 10, 10); } return ret; --- ./src/libgambit/integer.cc 2010-08-25 17:36:01.000000000 +0400 +++ ../gambit-0.2010.09.01-my/./src/libgambit/integer.cc 2014-07-19 21:31:16.459998836 +0400 @@ -2901,7 +2901,7 @@ std::string ToText(const Integer &i) { - return Itoa(i); + return Itoa(i, 10, 10); } } --- ./src/libgambit/integer.h 2010-08-25 17:36:01.000000000 +0400 +++ ../gambit-0.2010.09.01-my/./src/libgambit/integer.h 2014-07-19 21:30:27.876894747 +0400 @@ -227,8 +227,8 @@ long as_long() const { return Itolong(rep); } double as_double() const { return Itodouble(rep); } - friend std::string Itoa(const Integer& x, int base = 10, int width = 0); - friend Integer atoI(const char* s, int base = 10); + friend std::string Itoa(const Integer& x, int base, int width); + friend Integer atoI(const char* s, int base); friend std::istream &operator>>(std::istream &s, Integer& y); friend std::ostream &operator<<(std::ostream &s, const Integer& y);