Skip to content

3.3.0 failing to build #1270

@mohd-akram

Description

@mohd-akram

It fails to build on some systems:

/opt/local/var/macports/build/mimalloc-5f885923/work/mimalloc-3.3.0/src/alloc-override.c:99:21: error: call to undeclared library function 'aligned_alloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    MI_INTERPOSE_MI(aligned_alloc),
                    ^
/opt/local/var/macports/build/mimalloc-5f885923/work/mimalloc-3.3.0/src/alloc-override.c:99:21: note: include the header <stdlib.h> or explicitly provide a declaration for 'aligned_alloc'
1 error generated.

Also, I'm not sure if it's supposed to enter that block on older systems (in this case 10.12). Full log here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions