From 3071c50c188c1f159ceeff162ed3f96f70ffe889 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 2 Mar 2011 15:34:40 +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