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

Open

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.

Activity

  1. matusbakon commented on Jul 30, 2021

    @matusbakon

    hi @pont-us, is there a workaround to successfully build on Mac till this issue is resolved?
    thanks for any hint

  2. pont-us commented on Aug 5, 2021

    @pont-us
    MemberAuthor

    Hi @matusbakon -- sorry, I don't know of any workaround. By the way, jpy development has now moved to https://github.com/jpy-consortium/jpy , though the issues have not yet been transferred to the new repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions