mltframework/mlt

error: use of undeclared identifiers 'free' and 'calloc'

ryandesign opened this issue · 1 comments

7.24.0 fails to build on older versions of macOS (I saw it on OS X 10.10 and 10.11):

src/modules/rubberband/filter_rbpitch.cpp:271:9: error: use of undeclared identifier 'free'
        free(pdata);
        ^
src/modules/rubberband/filter_rbpitch.cpp:281:44: error: use of undeclared identifier 'calloc'
    private_data *pdata = (private_data *) calloc(1, sizeof(private_data));
                                           ^
src/modules/rubberband/filter_rbpitch.cpp:298:9: error: use of undeclared identifier 'free'
        free(pdata);
        ^
3 errors generated.

Have you included the header that declares these?

Oldest macOS I have is 10.14 to test for any other compilation errors. Reopen if there are others.