Skip to content

MGARD does not build with AppleClang #228

@lindstro

Description

@lindstro

As noted in #189, MGARD does not build with AppleClang 14.0.3.14030022:

tests/src/test_compressors.cpp:128:76: error: cannot initialize a parameter of type 'long *' with an lvalue of type 'std::int64_t *const' (aka 'long long *const')
  mgard::decompress_memory_huffman(compressed.data.get(), compressed.size, dst,
                                                                           ^~~
include/compressors.hpp:33:74: note: passing argument to parameter 'dst' here
                               const std::size_t srcLen, long int *const dst,
                                                                         ^
tests/src/test_compressors.cpp:199:40: error: cannot initialize a parameter of type 'long *' with an lvalue of type 'std::int64_t *const' (aka 'long long *const')
        mgard::compress_memory_huffman(quantized_, ndof);
                                       ^~~~~~~~~~
include/compressors.hpp:23:69: note: passing argument to parameter 'src' here
MemoryBuffer<unsigned char> compress_memory_huffman(long int *const src,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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