Commit 33d65ffd authored by David C. Lonie's avatar David C. Lonie
Browse files

Fix compilation error on MingW.

The 'extern template' declarations seem to be confusing amber12's
MingW GCC 4.5.0. Removing these allows the compilation to finish.
parent 42ce6031
Pipeline #24160 passed with stage
......@@ -305,7 +305,7 @@ extern VTK_AOS_DATA_ARRAY_TEMPLATE_INSTANTIATE(unsigned long long);
extern VTK_AOS_DATA_ARRAY_TEMPLATE_INSTANTIATE(unsigned short);
#pragma warning (pop)
#else // not MSVC
#elif !defined(__MINGW32__)
extern template class vtkAOSDataArrayTemplate<char>;
extern template class vtkAOSDataArrayTemplate<double>;
extern template class vtkAOSDataArrayTemplate<float>;
......
......@@ -261,7 +261,7 @@ extern VTK_SOA_DATA_ARRAY_TEMPLATE_INSTANTIATE(unsigned long long);
extern VTK_SOA_DATA_ARRAY_TEMPLATE_INSTANTIATE(unsigned short);
#pragma warning (pop)
#else // Not MSVC
#elif !defined(__MINGW32__)
extern template class vtkSOADataArrayTemplate<char>;
extern template class vtkSOADataArrayTemplate<double>;
extern template class vtkSOADataArrayTemplate<float>;
......
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