Adam Mitz created XERCESC-2261:
----------------------------------

             Summary: Android NDK compiler compatibility for RTTI of DOM classes
                 Key: XERCESC-2261
                 URL: https://issues.apache.org/jira/browse/XERCESC-2261
             Project: Xerces-C++
          Issue Type: Bug
          Components: DOM
    Affects Versions: 3.2.5
            Reporter: Adam Mitz


Android's NDK compiler (a specific version of Clang) doesn't support RTTI of 
classes across dynamically loaded shared libraries unless the classes have "key 
functions."  See 
 
[https://developer.android.com/ndk/guides/common-problems#rttiexceptions_not_working_across_library_boundaries]
 and [https://itanium-cxx-abi.github.io/cxx-abi/abi.html#vague-vtable] 
 
This patch was developed for the xerces-3.2 branch since that's what we're 
using, but we can port to other branches as needed.
 
https://github.com/OpenDDS/xerces-c/commit/bcc2c4cb424a1537eb44237c8cb0aa0ad0233a68



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to