error: ‘value’ is not a member of ‘nix::to_data_type<long long unsigned int>’
- Dominant language
- MATLAB
- Stars
- 4
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
nix_mx does not compile under linux, I get the following compile error:
```
/home/jan/projects/programming/nix-mx/include/utils/mkarray.h: In instantiation of ‘typename std::enable_if::value, mxArray_tag>::type* make_mx_array(T) [with T = long long unsigned int; typename std::enable_if::value, mxArray_tag>::type = mxArray_tag]’:
/home/jan/projects/programming/nix-mx/include/utils/struct.h:43:66: required from ‘void struct_builder::set(mwIndex, int, T&&) [with T = long long unsigned int; mwIndex = long unsigned int]’
/home/jan/projects/programming/nix-mx/include/utils/struct.h:38:3: required from ‘void struct_builder::set(int, T&&) [with T = long long unsigned int]’
/home/jan/projects/programming/nix-mx/include/utils/struct.h:28:3: required from ‘void struct_builder::set(T&&) [with T = long long unsigned int]’
/home/jan/projects/programming/nix-mx/src/nixgen.cc:64:36: required from here
/home/jan/projects/programming/nix-mx/include/utils/mkarray.h:59:58: error: ‘value’ is not a member of ‘nix::to_data_type’
DType2 dtype = dtype_nix2mex(nix::to_data_type::value);
```
Contributor guide
Assessment
This issue has not been assessed yet.