From: eap Date: Wed, 2 Mar 2011 15:34:40 +0000 (+0000) Subject: 0021196: [CEA 456] Integration and merge modification for debian packages X-Git-Tag: V5_1_main_FINAL~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3071c50c188c1f159ceeff162ed3f96f70ffe889;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