Discussion:
[ast-developers] building ksh/ast on/for MacOS El Capitan
Jeff Frontz
2016-10-12 18:40:30 UTC
Permalink
I'm trying to build ksh from the github source on MacOS 10.11.6. I've
cloned the source (via "git init; git clone https://github.com/att/ast.git")
and started the build (via "./bin/package make") but there seem to be
problems building libast:

ast/src/lib/libast/hash/hashalloc.c:154:16: error: non-const lvalue
reference to type '__builtin_va_list' cannot bind to a temporary of type
'va_list' (aka 'char *')
va_copy(ap, va_listval(va_arg(ap, va_listarg)));
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Is there something special to be done when compiling on El Capitan?

Thanks,
Jeff

Loading...