Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Mac builds failing due to compiler error #195

@pont-us

Description

@pont-us

AppVeyor Python 3.5 - 3.8 builds on Mac are currently failing, evidently due to the following:

src/main/c/jni/org_jpy_PyLib.c:331:9: error: implicit declaration of function 'JPy_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        JPy_free();
        ^

In previous Mac builds it was:

src/main/c/jni/org_jpy_PyLib.c:331:9: error: implicit declaration of function 'JPy_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        JPy_free();
        ^

Current Windows and Linux builds also give a warning rather than an error here. We should either disable the -Werror flag in the Mac build or fix the implicit declaration itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions