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

Compile on windows #74

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Sep 22, 2021

  1. Address the visual studio compiler error C2580 by removing one of the…

    … defaulted special member functions
    
    h5cpp\h5cpp\H5Sall.hpp(60): error C2580: 'h5::impl::array<h5::impl::count_t,7>::array(const h5::impl::array<h5::impl::count_t,7> &)': multiple versions of a defaulted special member functions are not allowed
    sq-rrussell committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    6ebf89f View commit details
    Browse the repository at this point in the history
  2. Address the following compiler error on Visual Studio 2019 builds.

    h5cpp\h5cpp\H5Zall.hpp(54): error C2664: 'int compress2(Bytef *,uLongf *,const Bytef *,uLong,int)': cannot convert argument 2 from 'size_t *' to 'uLongf *'
    sq-rrussell committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    dbafc90 View commit details
    Browse the repository at this point in the history
  3. Microsoft compiler does not support <stdlib.h> aligned_alloc(); inste…

    …ad it support _aligned_malloc() which must be freed with _aligned_free() from <malloc.h>. The changes fix an exception which is thrown when using aligned_alloc() on Windows.
    sq-rrussell committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    48e2c2e View commit details
    Browse the repository at this point in the history