From: eap Date: Wed, 2 Mar 2011 16:34:52 +0000 (+0000) Subject: 0021196: [CEA 456] Integration and merge modification for debian packages X-Git-Tag: V6_main_20110309~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9c2404ec1364b8acfaceeecff909a2fc96ee1ca9;p=modules%2Fvisu.git 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) --- 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