examples/minitar/minitar.c: In function ‘copy_data’:
examples/minitar/minitar.c:406:3: warning: passing argument 4 of ‘archive_read_data_block’ from incompatible pointer type [enabled by default]
In file included from examples/minitar/minitar.c:45:0:
/usr/include/archive.h:420:15: note: expected ‘int64_t *’ but argument is of type ‘off_t *’
examples/untar.c: In function ‘copy_data’:
examples/untar.c:210:3: warning: passing argument 4 of ‘archive_read_data_block’ from incompatible pointer type [enabled by default]
In file included from examples/untar.c:60:0:
/usr/include/archive.h:420:15: note: expected ‘int64_t *’ but argument is of type ‘off_t *’
This looks like it could cause actual issues. Benjamin, do you want to look into this, or should we just ignore stderr in the tests?
It succeeded on amd64, but failed on i386:
https:/ /jenkins. qa.ubuntu. com/view/ Raring/ view/AutoPkgTes t/job/raring- proposed- adt-libarchive/ lastFailedBuild /
on i386 it gets a few errors on stderr:
examples/ minitar/ minitar. c: In function ‘copy_data’: minitar/ minitar. c:406:3: warning: passing argument 4 of ‘archive_ read_data_ block’ from incompatible pointer type [enabled by default] minitar/ minitar. c:45:0: archive. h:420:15: note: expected ‘int64_t *’ but argument is of type ‘off_t *’ untar.c: 210:3: warning: passing argument 4 of ‘archive_ read_data_ block’ from incompatible pointer type [enabled by default] untar.c: 60:0: archive. h:420:15: note: expected ‘int64_t *’ but argument is of type ‘off_t *’
examples/
In file included from examples/
/usr/include/
examples/untar.c: In function ‘copy_data’:
examples/
In file included from examples/
/usr/include/
This looks like it could cause actual issues. Benjamin, do you want to look into this, or should we just ignore stderr in the tests?