how do i fix undefined reference with betterC ?
Kagamin
spam at here.lot
Fri Oct 12 11:56:50 UTC 2018
On Friday, 12 October 2018 at 02:27:35 UTC, test wrote:
>
> I am use betterC with pthread_attr_t and 1.12.0 (DMD v2.082.0,
> LLVM 7.0.0) for Android 64 in termux, get this error:
>
> undefined reference to
> `_D4core3sys5posixQk5types14pthread_attr_t6__initZ'
>
> The same code in linux and macOS has no error ?
You can just leave it uninitialized
pthread_attr_t attr=void;
You will need to call pthread_attr_init anyway.
More information about the digitalmars-d-ldc
mailing list