Sun 16 Mar 2014 04:50:11 PM UTC, original submission:
Here is a transcription of the build log:
/bin/sh ../libtool --tag=CC --mode=compile xcrun clang -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -I../intl -I///usr/include/libxml2 -I./libcroco -g -O2 -c -o stpncpy.lo stpncpy.c
libtool: compile: xcrun clang -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -I../intl -I///usr/include/libxml2 -I./libcroco -g -O2 -c stpncpy.c -fno-common -DPIC -o .libs/stpncpy.o
stpncpy.c:34:1: error: expected parameter declarator
__stpncpy (char dest, const char src, size_t n)
^
stpncpy.c:28:20: note: expanded from macro '__stpncpy'
# define __stpncpy stpncpy
^
/usr/include/secure/_string.h:110:5: note: expanded from macro 'stpncpy'
((__darwin_obsz0 (dest) != (size_t) -1) \
^
/usr/include/secure/_common.h:38:63: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
^
stpncpy.c:34:1: error: expected ')'
stpncpy.c:28:20: note: expanded from macro '__stpncpy'
# define __stpncpy stpncpy
^
/usr/include/secure/_string.h:110:5: note: expanded from macro 'stpncpy'
((__darwin_obsz0 (dest) != (size_t) -1) \
^
/usr/include/secure/_common.h:38:63: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
^
stpncpy.c:34:1: note: to match this '('
stpncpy.c:28:20: note: expanded from macro '__stpncpy'
# define __stpncpy stpncpy
^
/usr/include/secure/_string.h:110:5: note: expanded from macro 'stpncpy'
((__darwin_obsz0 (dest) != (size_t) -1) \
^
/usr/include/secure/_common.h:38:54: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
^
stpncpy.c:34:1: error: expected ')'
__stpncpy (char dest, const char src, size_t n)
^
stpncpy.c:28:20: note: expanded from macro '__stpncpy'
# define __stpncpy stpncpy
^
/usr/include/secure/_string.h:110:27: note: expanded from macro 'stpncpy'
((__darwin_obsz0 (dest) != (size_t) -1) \
^
stpncpy.c:34:1: note: to match this '('
stpncpy.c:28:20: note: expanded from macro '__stpncpy'
# define __stpncpy stpncpy
^
/usr/include/secure/_string.h:110:4: note: expanded from macro 'stpncpy'
((__darwin_obsz0 (dest) != (size_t) -1) \
^
stpncpy.c:34:1: error: expected ')'
__stpncpy (char dest, const char src, size_t n)
^
stpncpy.c:28:20: note: expanded from macro '__stpncpy'
# define __stpncpy stpncpy
^
/usr/include/secure/_string.h:111:4: note: expanded from macro 'stpncpy'
? __builtin___stpncpy_chk (dest, src, len, __darwin_obsz (dest)) \
^
stpncpy.c:34:1: note: to match this '('
stpncpy.c:28:20: note: expanded from macro '__stpncpy'
# define __stpncpy stpncpy
^
/usr/include/secure/_string.h:110:3: note: expanded from macro 'stpncpy'
((__darwin_obsz0 (dest) != (size_t) -1) \
^
stpncpy.c:34:1: error: conflicting types for '__builtin_object_size'
__stpncpy (char dest, const char src, size_t n)
^
stpncpy.c:28:20: note: expanded from macro '__stpncpy'
# define __stpncpy stpncpy
^
/usr/include/secure/_string.h:110:5: note: expanded from macro 'stpncpy'
((__darwin_obsz0 (dest) != (size_t) -1) \
^
/usr/include/secure/_common.h:38:32: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
^
/usr/include/secure/_string.h:61:56: note: '__builtin_object_size' is a builtin with type 'unsigned long (const void *, int)'
return __builtin___memcpy_chk (__dest, __src, __len, __darwin_obsz0(__dest));
^
/usr/include/secure/_common.h:38:32: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
^
stpncpy.c:34:1: error: definition of builtin function '__builtin_object_size'
__stpncpy (char dest, const char src, size_t n)
^
stpncpy.c:28:20: note: expanded from macro '__stpncpy'
# define __stpncpy stpncpy
^
/usr/include/secure/_string.h:110:5: note: expanded from macro 'stpncpy'
((__darwin_obsz0 (dest) != (size_t) -1) \
^
/usr/include/secure/_common.h:38:32: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
^
stpncpy.c:39:7: error: use of undeclared identifier 'n'
if (n >= 4)
^
stpncpy.c:41:19: error: use of undeclared identifier 'n'
size_t n4 = n >> 2;
^
stpncpy.c:45:16: error: use of undeclared identifier 'src'
c = *src++;
^
stpncpy.c:49:16: error: use of undeclared identifier 'src'
c = *src++;
^
stpncpy.c:53:16: error: use of undeclared identifier 'src'
c = *src++;
^
stpncpy.c:57:16: error: use of undeclared identifier 'src'
c = *src++;
^
stpncpy.c:64:7: error: use of undeclared identifier 'n'
n -= dest - s;
^
stpncpy.c:69:3: error: use of undeclared identifier 'n'
n &= 3;
^
stpncpy.c:70:7: error: use of undeclared identifier 'n'
if (n == 0)
^
stpncpy.c:75:12: error: use of undeclared identifier 'src'
c = *src++;
^
stpncpy.c:76:9: error: use of undeclared identifier 'n'
--n;
^
stpncpy.c:80:11: error: use of undeclared identifier 'n'
if (n == 0)
^
stpncpy.c:85:10: error: use of undeclared identifier 'n'
while (n-- > 0)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
|