Commit 8fc5f670 authored by David E. DeMarle's avatar David E. DeMarle

fix windows compilation

I have yet to find the case where this was necessary for Andrew.
With the __int64 block removed, it compiles on vs2013 and vs2016
64 bit, with it comp fails because of redefinition.

A simple test case below shows that the behavior is the same on
32 bit. If we find out where the test case compiles, we can add
it back in with appropriate guards to make it compile widely.

template <typename T> void setArrayType()
{ std::cout << "other" << std::endl; }
template <> void setArrayType<long long>()
{ std::cout << "long long" << std::endl; }
template <> void setArrayType<__int64>()
{ std::cout << "__int64" << std::endl; }
int main(int argc, char *argv[])
{ return 0; }
parent 54dbb6d3
......@@ -1201,16 +1201,6 @@ XdmfArray::setArrayType<long long>()
mArrayType = XdmfArrayType::Int64();
#ifdef WIN32
template <>
mArrayType = XdmfArrayType::Int64();
template <>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment