| Thanks for reporting the issue!
On Mon, Aug 18, 2014 at 12:23 PM, Edward Costello
wrote:
> That fixed it, built without any problems. Thanks a million
>
>> On 18 Aug 2014, at 18:17, Steven Yi wrote:
>>
>> This was a bug. There was a check for both !defined(HAVE_STRLCAT) and
>> !defined(strlcat) in the include/sysdep.h that defines strlcat, but
>> the implementation only checked for !defined(HAVE_STRLCAT) in
>> OOps/str_ops.c. I've updated OOps/str_ops.c and pushed the change to
>> the develop branch.
>>
>> Could you pull and retest?
>>
>> On Mon, Aug 18, 2014 at 11:10 AM, Edward Costello
>> wrote:
>>> Hey,
>>>
>>> It’s probably not supported yet but I’m having trouble building on Yosemite, its complaining about strlcat. The error is:
>>>
>>>> [ 39%] /tmp/csound-Cm06/Csound6.03.2/OOps/str_ops.c:1047:1: error: expected parameter declarator
>>>> strlcat(char *dst, const char *src, size_t siz)
>>>>
>>>> /usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'
>>>> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
>>>> ^
>>>> /usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
>>>> #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
>>>> ^
>>>> /usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'
>>>> # define _USE_FORTIFY_LEVEL 2
>>>> ^
>>>> /tmp/csound-Cm06/Csound6.03.2/OOps/str_ops.c:1047:1: error: expected ')'
>>>> /usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'
>>>> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
>>>> ^
>>>> /usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'
>>>> #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
>>>> ^
>>>> /usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'
>>>> # define _USE_FORTIFY_LEVEL 2
>>>> ^
>>>> /tmp/csound-Cm06/Csound6.03.2/OOps/str_ops.c:1047:1: note: to match this '('
>>>> /usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'
>>>> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
>>>> ^
>>>> /usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz'
>>>> #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)
>>>> ^
>>>> /tmp/csound-Cm06/Csound6.03.2/OOps/str_ops.c:1047:1: error: conflicting types for '__builtin___strlcat_chk'
>>>> strlcat(char *dst, const char *src, size_t siz)
>>>> ^
>>>> /usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'
>>>> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
>>>> ^
>>>> /tmp/csound-Cm06/Csound6.03.2/OOps/str_ops.c:1047:1: note: '__builtin___strlcat_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)'
>>>> /usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'
>>>> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
>>>> ^
>>>> /tmp/csound-Cm06/Csound6.03.2/OOps/str_ops.c:1047:1: error: definition of builtin function '__builtin___strlcat_chk'
>>>> strlcat(char *dst, const char *src, size_t siz)
>>>> ^
>>>> /usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'
>>>> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
>>>
>>> Does anyone know what the trouble might be?
>>> Ed
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https:// |