[tlbuild] asy2.42

Mojca Miklavec mojca.miklavec.lists at gmail.com
Fri Apr 6 17:29:20 CEST 2018


For a strange reason I seem to be unable to compile asy for darwinlegacy.

In file included from util.cc:11:
In file included from /opt/local/libexec/llvm-5.0/include/c++/v1/iostream:40:
In file included from /opt/local/libexec/llvm-5.0/include/c++/v1/istream:163:
In file included from /opt/local/libexec/llvm-5.0/include/c++/v1/ostream:140:
/opt/local/libexec/llvm-5.0/include/c++/v1/locale:1576:20: error: use
of undeclared identifier 'asprintf_l'
            __nc = __libcpp_asprintf_l(&__nb, _LIBCPP_GET_C_LOCALE,
__fmt, (int)__iob.precision(), __v);
                   ^
/opt/local/libexec/llvm-5.0/include/c++/v1/__bsd_locale_defaults.h:34:61:
note: expanded from macro '__libcpp_asprintf_l'
#define __libcpp_asprintf_l(...)
asprintf_l(__VA_ARGS__)
                                                            ^

I'm not blaming asymptote yet, but I switched to a C++11-enabled
compiler this year and maybe this has something to do with
    #define _POSIX_C_SOURCE 200809L
or something along those lines.

This is probably solvable, but I cannot promise that I would have
enough time to fix it by Sunday.

Mojca


More information about the tlbuild mailing list