Skip to content

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

Description

@quantumsteve

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions