Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2068

Library won't compile using Borland Clang compiler bcc32c

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Won't Fix
    • 3.1.3
    • None
    • Build
    • Windows 7 x64
      Embarcadero® C++Builder 10.1 Berlin Version 24.0.22858.6822

    Description

      Tried switching the compiler to use bcc32c (clang support), and it won't link.

      BCC32 = bcc32c
      http://docwiki.embarcadero.com/RADStudio/Seattle/en/C%2B%2B_Compiler#Classic_Compiler

      I got the following warnings, which i expected:

      Warnings (expected)
      Warning: option '-Vx' is not supported in Clang-based compiler.
      Warning: option '-Ve' is not supported in Clang-based compiler.
      Warning: option '-r-' is not supported in Clang-based compiler.
      Warning: option '-4' is not supported in Clang-based compiler.
      Warning: option '-k' is not supported in Clang-based compiler.
      Warning: option '-y' is not supported in Clang-based compiler.
      Warning: option '-w-par' is not supported in Clang-based compiler.
      

      The errors, preventing link were:

      Errors
      Error: Unresolved external '__cxxabiv1::__class_type_info::' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\INMEMMSGLOADER.OBJ
      Error: Unresolved external '___seh_personality_v0' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\XMEMORY.OBJ
      Error: Unresolved external '__Unwind_SjLj_Register' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\XMEMORY.OBJ
      Error: Unresolved external '__Unwind_SjLj_Unregister' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\XMEMORY.OBJ
      Error: Unresolved external '___cxa_begin_catch' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\BINHTTPURLINPUTSTREAM.OBJ
      Error: Unresolved external '___cpp_terminate' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\BINHTTPURLINPUTSTREAM.OBJ
      Error: Unresolved external '___cxa_pure_virtual' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\INMEMMSGLOADER.OBJ
      Error: Unresolved external '__cxxabiv1::__si_class_type_info::' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\INMEMMSGLOADER.OBJ
      Error: Unresolved external '__Unwind_Resume' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\XMLEXCEPTION.OBJ
      Error: Unresolved external '___cxa_allocate_exception' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\XMLBUFFER.OBJ
      Error: Unresolved external '___cxa_throw' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\XMLBUFFER.OBJ
      Error: Unresolved external '___cxa_free_exception' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\XMLBUFFER.OBJ
      Error: Unresolved external '___cxa_rethrow' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\XMLURL.OBJ
      Error: Unresolved external '___cxa_end_catch' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\XMLURL.OBJ
      Error: Unresolved external '__cxxabiv1::__enum_type_info::' referenced from F:\DOWNLOADS\XERCES-C-3.1.3\XERCES-C-3.1.3\BUILD\WIN32\BCC5\OBJ\REGXPARSER.OBJ
      

      Library works fine when compiled using the makefile in (which uses bcc32):
      xerces-c-3.1.3\projects\Win32\BCC5\Xerces-all\XercesLib

      Attachments

        Activity

          People

            Unassigned Unassigned
            chetwhelms Chet Helms
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: