Hi,

Some older compilers basically wouldn't allow variable declaration inside function body. And that's exactly what happens with verify() macro and latest tar 1.23.

Please see attached patch.

Thanks,

Petr

--- tar-1.23/gnu/inttostr.c.orig        Mon Mar 15 08:03:27 2010
+++ tar-1.23/gnu/inttostr.c     Mon Mar 15 08:05:00 2010
@@ -32,9 +32,9 @@
 inttostr (inttype i, char *buf)
 {
   char *p = buf + INT_STRLEN_BOUND (inttype);
+  verify (TYPE_SIGNED (inttype) == inttype_is_signed);
   *p = 0;
 
-  verify (TYPE_SIGNED (inttype) == inttype_is_signed);
 #if inttype_is_signed
   if (i < 0)
     {

Reply via email to