Skip to content
Prev 46919 / 63424 Next

C++ debugging help needed

Yes, on reflection it's an ABI problem on Linux (use of PIC code in
shared libraries means that any symbol can be interposed).  Using
namespaces isn't really the answer because that's an API issue.  I think
what you really need to do is control the visibility of your classes and
functions so that everything is hidden except for the entry points you
call from R (Writing R Extensions section 6.15).  This should stop the
symbol collision because hidden functions are resolved inside the shared
object instead of going through a lookup table that can be overwritten
by someone else's package.

Martyn
On Fri, 2013-10-04 at 15:05 -0400, Duncan Murdoch wrote:
-----------------------------------------------------------------------
This message and its attachments are strictly confidenti...{{dropped:8}}