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

Missing instantiation for native types long and long long on some platforms. #428

Open
quantumsteve opened this issue May 24, 2016 · 1 comment
Assignees

Comments

@quantumsteve
Copy link
Contributor

quantumsteve commented May 24, 2016

Currently one gets a linking error in File::writeData if NumT = long (Win32) or NumT = long long (Linux).

On Windows long has the same length as int32_t, but it is a ​_different_​ type.
On Windows long long has the same length as int64_t, and it is the ​_same_​ type.
http://rextester.com/EEFS42414

On Linux long has the same length as int64_t, and is the ​_same_​ type.
On Linux long long has the same length as int64_t, but is a ​_different_​ type.
http://cpp.sh/7u2t

It would be nice if NeXus handled and did the right thing for the native types long and long long.

@prjemian
Copy link
Contributor

No work on this issue at 2022-06 Code Camp.

@prjemian prjemian changed the title Missing instatiation for native types long and long long on some platforms. Missing instantiation for native types long and long long on some platforms. Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants