Skip to content

OpenJPH 0.24.1 build error with Apple clang 12 #219

@ashugg

Description

@ashugg

Hi Aous, unfortunately the changes to ojph_mem.h in commit 3c89901 for #198 make OpenJPH 0.24.1 unbuildable on one of my computers.

I see from the discussion in issue 198 that the changes bring significant performance improvements on the Linux platform and looking at the changes to ojph_mem.h I'm thinking that it should be a simple matter of a bit more ifdef logic in the namespace ojph {} section to fix the issue for me.

The platform in question is Mac OS X 10.15, which is very old I know, and out of vendor support - so I don't expect you to make any effort to fix it. I'll try to figure it out myself and send you a PR.

On my second oldest platform, OpenJPH 0.24.1 builds without issue.

Fails to build:
Apple clang version 12.0.0 (clang-1200.0.32.29)

Successfully builds:
Apple clang version 14.0.0 (clang-1400.0.29.202)

Andrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions