Subject: | flist.c:729:8: error: expected parameter declarator (strlcpy) |
Date: | Sun, 30 Mar 2014 18:52:42 -0500 |
To: | bug-File-RsyncP [...] rt.cpan.org |
From: | Ryan Schmidt <ryandesign [...] macports.org> |
Hello, I’m a developer with the MacPorts package management system, and I cannot build File::RsyncP 0.70 on OS X Mavericks v10.9.2. The first error is:
flist.c:729:8: error: expected parameter declarator
size_t strlcpy(char *d, const char *s, size_t bufsize)
^
/usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy'
__builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))
--
^
/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
I’m attach the full log, from MacPorts.
The operating system is:
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.2
BuildVersion: 13C64
The perl version is:
$ perl5.16 -v
This is perl 5, version 16, subversion 1 (v5.16.1) built for darwin-thread-multi-2level
Copyright 1987-2012, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
The compiler is:
$ clang -v
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
Message body not shown because it is not plain text.