Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MGARD does not build with AppleClang #228

Open
lindstro opened this issue Oct 3, 2023 · 1 comment
Open

MGARD does not build with AppleClang #228

lindstro opened this issue Oct 3, 2023 · 1 comment

Comments

@lindstro
Copy link

lindstro commented Oct 3, 2023

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,
@Jeff-Hadley
Copy link

Having the same issue. Does not build with AppleClang 15.0.0.15000100.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants