Package: gambit
Severity: minor
Tags: patch
Followup-For: Bug #755307
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs

Hi,

Please see new patch in the attach. First version of the patch has been created 
in the wrong way.

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
--- ./src/libgambit/integer.h	2010-08-25 17:36:01.000000000 +0400
+++ ../gambit-0.2010.09.01-my/./src/libgambit/integer.h	2014-07-30 01:26:04.290380784 +0400
@@ -85,6 +85,10 @@
 extern int      Iisdouble(const IntegerRep*);
 extern long     lg(const IntegerRep*);
 
+class Integer;
+std::string Itoa(const Integer& x, int base = 10, int width = 0);
+Integer atoI(const char* s, int base = 10);
+
 class Integer {
 protected:
   IntegerRep *rep;
@@ -227,8 +231,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);

Reply via email to