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.
Currently one gets a linking error in File::writeData if
NumT = long(Win32) orNumT = long long(Linux).On Windows
longhas the same length asint32_t, but it is a _different_ type.On Windows
long longhas the same length asint64_t, and it is the _same_ type.http://rextester.com/EEFS42414
On Linux
longhas the same length asint64_t, and is the _same_ type.On Linux
long longhas the same length asint64_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
longandlong long.