Bug#584172: Disabling GetIDMapper inlining for building VISU

Denis Barbier bouzim at gmail.com
Wed Jun 2 08:30:15 UTC 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: instantiation.patch
Type: application/x-empty
Size: 663 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20100602/a52a78ca/attachment.bin>


More information about the debian-science-maintainers mailing list