From 9c2404ec1364b8acfaceeecff909a2fc96ee1ca9 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 2 Mar 2011 16:34:52 +0000 Subject: [PATCH] 0021196: [CEA 456] Integration and merge modification for debian packages visu-template-export.patch This patch exports a symbol needed at VISUConvertor linking when compiling with g++ and optimizations (-O2) --- src/CONVERTOR/VISU_MergeFilterUtilities.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/CONVERTOR/VISU_MergeFilterUtilities.cxx b/src/CONVERTOR/VISU_MergeFilterUtilities.cxx index d431ee06..8dc2f8a9 100644 --- a/src/CONVERTOR/VISU_MergeFilterUtilities.cxx +++ b/src/CONVERTOR/VISU_MergeFilterUtilities.cxx @@ -716,7 +716,12 @@ namespace VISU } return NULL; } - + // Explicit symbol export when compiling with g++ and optimizations, + // needed by VISUConvertor during linking + #if (__GNUG__ && __OPTIMIZE__) + template vtkIntArray* + GetIDMapper(TFieldList*, TGetPointData, const char* ); + #endif //--------------------------------------------------------------- template -- 2.39.2