Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: clang linker error



Permlink Replies: 1 - Last Post: Jan 7, 2016 6:18 AM Last Post By: Josh Kelley
Tomasz Littau

Posts: 3
Registered: 1/2/16
clang linker error
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 6, 2016 4:23 AM
Hello, when i use "clang" compilator i have unresolve ext. errors

[ilink32 Error] Error: Unresolved external '__InitExceptBlockLDTC' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\BCBSMP.LIB|cspin
[ilink32 Error] Error: Unresolved external '__Return_unwind' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\BCBSMP.LIB|cspin
[ilink32 Error] Error: Unresolved external '_CatchCleanup()' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\BCBSMP.LIB|cspin
[ilink32 Error] Error: Unresolved external '_ReThrowException(unsigned int, unsigned char *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\BCBSMP.LIB|cspin
[ilink32 Error] Error: Unresolved external '_ThrowExceptionLDTC(void *, void *, void *, void *, unsigned int, unsigned int, unsigned int, unsigned char *, void *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\BCBSMP.LIB|cgauges

With "use classic bcb compilator" no error.

If i check build with runtime library/packages also on "clang" no error.

Where is the problem ?

Edited by: Tomasz Littau on Jan 6, 2016 4:24 AM
Josh Kelley

Posts: 75
Registered: 3/6/08
Re: clang linker error [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2016 6:18 AM   in response to: Tomasz Littau in response to: Tomasz Littau
On 1/6/2016 7:24 AM, Tomasz Littau wrote:
Hello, when i use "clang" compilator i have unresolve ext. errors

[ilink32 Error] Error: Unresolved external '__InitExceptBlockLDTC' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\BCBSMP.LIB|cspin
[ilink32 Error] Error: Unresolved external '__Return_unwind' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\BCBSMP.LIB|cspin
[ilink32 Error] Error: Unresolved external '_CatchCleanup()' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\BCBSMP.LIB|cspin
[ilink32 Error] Error: Unresolved external '_ReThrowException(unsigned int, unsigned char *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\BCBSMP.LIB|cspin
[ilink32 Error] Error: Unresolved external '_ThrowExceptionLDTC(void *, void *, void *, void *, unsigned int, unsigned int, unsigned int, unsigned char *, void *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN32\RELEASE\BCBSMP.LIB|cgauges

With "use classic bcb compilator" no error.

If i check build with runtime library/packages also on "clang" no error.

It sounds like https://quality.embarcadero.com/browse/RSP-11878.

--
Josh Kelley
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02