-
Notifications
You must be signed in to change notification settings - Fork 126
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
H5Utils issues with long and long long types #16398
Comments
HDF5 has |
The good news is we don't support win32. |
By Win32 I mean 64-bit Windows, which we do support. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you feel this is incorrect please comment to keep it alive, with a reason why. To prevent closure, e.g. for long-term planning issues, add the "Never Stale" label. |
This issue has been closed automatically. If this still affects you please re-open this issue with a comment so we can look into resolving it. |
Expected behavior
H5Utils "does the right thing" when loading or writing either a
std::vector<long>
orstd::vector<long long>
Actual behavior
On certain platforms, the user will encounter a linking error.
Platforms affected
On Windows
long
has the same length asint32_t
, but it is a _different_ type.On Windows
long long
has the same length asint64_t
, and it is the _same_ type.http://rextester.com/EEFS42414
On OS X & Linux
long
has the same length asint64_t
, and is the _same_ type.On OS X & Linux
long long
has the same length asint64_t
, but is a _different_ type.http://cpp.sh/7u2t
Related issue is nexus-code#428.
The text was updated successfully, but these errors were encountered: