On Nov 17, 2013, at 1:35 PM, Christopher Jones <[email protected]> wrote:

> 
> On 17 Nov 2013, at 9:07pm, Blair Zajac <[email protected]> wrote:
> 
>> I just got a new MacBook Pro and is the first machine I have access to that 
>> can run 10.9, so I’m running into problems with fwknop-client port getting 
>> it to compile.  It fails on something as simple as this:
>> 
>> 
>> #include <string.h>
>> 
>> size_t strlcat(char *dst, const char *src, size_t siz);
>> 
>> int main()
>> {
>> return 0;
>> }
>> 
>> 
>> $ clang test.c -o test
>> test.c:3:8: error: expected parameter declarator
>> size_t strlcat(char *dst, const char *src, size_t siz);
>> 
>> 
>> Can we not use blacklists on 10.9?  Do we need to always use clang?  Or is 
>> that only for C++ code that we have to use clang?
> 
> On 10.9, clang is the only system compiler. So for OSX 10.9, you need to use 
> clang, for C C++, Obj-C etc.

Thanks.  Technically, one could use gcc for C code, since it doesn’t link 
against any C++ runtime???

> The above looks to me like a problem upstream needs to address for the 
> fwknop-client, to update it to support clang.

I’ll be helping on that effort, the first few errors look pretty easy to 
address.

Blair

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to