visu-template-export.patch
This patch exports a symbol needed at VISUConvertor linking when compiling
with g++ and optimizations (-O2)
}
return NULL;
}
-
+ // Explicit symbol export when compiling with g++ and optimizations,
+ // needed by VISUConvertor during linking
+ #if (__GNUG__ && __OPTIMIZE__)
+ template vtkIntArray*
+ GetIDMapper<TGetPointData>(TFieldList*, TGetPointData, const char* );
+ #endif
//---------------------------------------------------------------
template<class TGetFieldData>