10.9 and compiler

Joshua Root jmr at macports.org
Sun Nov 17 23:32:54 PST 2013


On 2013-11-18 08:07 , Blair Zajac 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);

I would assume this is because strlcat is now a macro, and using gcc
wouldn't help.

- Josh


More information about the macports-dev mailing list