[ 
https://issues.apache.org/jira/browse/XERCESC-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott Cantor closed XERCESC-2068.
---------------------------------

> Library won't compile using Borland Clang compiler bcc32c
> ---------------------------------------------------------
>
>                 Key: XERCESC-2068
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2068
>             Project: Xerces-C++
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.1.3
>         Environment: Windows 7 x64
> Embarcadero® C++Builder 10.1 Berlin Version 24.0.22858.6822 
>            Reporter: Chet Helms
>            Priority: Blocker
>              Labels: borland, build, newbie, windows
>
> 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:*
> {code:title=Warnings (expected)|borderStyle=solid}
> 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.
> {code}
> *The errors, preventing link were:*
> {code:title=Errors|borderStyle=solid}
> 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
> {code}
> Library works fine when compiled using the makefile in (which uses bcc32):
> xerces-c-3.1.3\projects\Win32\BCC5\Xerces-all\XercesLib



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to