On 2010/6/2 Andre Espaze wrote:
> It is finally not necessary to build the module with the -g option,
> I have enclosed a patch that disable the GetIDMapper function inlining
> when built with g++ and optimizations.

Hello,

I am no C++ expert, but this looks very similar to
   http://www.parashift.com/c++-faq-lite/templates.html#faq-35.13
and it is thus not clear whether this is really a g++ bug.
Here is a different fix, I tested this approach with Andre's
test.cpp, but not with salome.

Denis

Attachment: instantiation.patch
Description: application/empty

Reply via email to