Skip Menu |

This queue is for tickets about the Archive-Tar-Builder CPAN distribution.

Report information
The Basics
Id: 116667
Status: new
Priority: 0/
Queue: Archive-Tar-Builder

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: 2.5000_0001 fails to compile on FreeBSD systems
On my freebsd 10.1 systems (on 9.2 it also fails, but with a different error message): cc -c -D_FILE_OFFSET_BITS=64 -O2 -pipe -DVERSION=\"2.5000_0001\" -DXS_VERSION=\"2.5000_0001\" -o src/b_file.o -DPIC -fPIC "-I/usr/perl5.22.2p/lib/5.22.2/amd64-freebsd/CORE" src/b_file.c src/b_file.c:78:53: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] snprintf(buffer, total_len + 1, "%d path=%s\n", full_len, path->str); ~~ ^~~~~~~~ %zu src/b_file.c:80:76: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] snprintf(buffer + full_len, link_full_len + 1, "%d linkpath=%s\n", link_full_len, linkdest->str); ~~ ^~~~~~~~~~~~~ %zu src/b_file.c:118:13: error: use of undeclared identifier 'emptied_buffer' emptied_buffer = 1; ^ 2 warnings and 1 error generated. *** Error code 1