Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Compiler
C++
Front End
access
Bitfields
Destructors
Diagnostics
Exception Handling
Extensions
Initialization
Inline Assembly
Invocation
Language
Mangling Scheme
Namespaces
Object Generation
Overloading
Pragmas
Pre-Compiled Headers
Preprocessor
Refactoring
RTTI
Templates
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Compiler/C++/Front End/RTTI
[ Add a report in this area ]
Report #:
85504
Status:
Closed
typeid (pointer to incomplete type) triggers link error: Unresolved external
Project:
C++Builder
Build #:
6.21.3615.26516
Version:
14.0
Submitted By:
Niels Dekker
Report Type:
Basic functionality failure
Date Reported:
6/16/2010 2:48:39 PM
Severity:
Serious / Highly visible problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All platforms
Internal Tracking #:
277419
Resolution:
Duplicate
(Resolution Comments)
Resolved in Build:
:
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
An attempt to retrieve the typeid of a pointer to an incomplete class type triggers a link error: "Unresolved external..." I encountered this issue when I tried to compile a unit test of Boost Exception, by Emil Dotchevski: https://svn.boost.org/trac/boost/browser/trunk/libs/exception/test/enable_error_info_test.cpp?rev=52227
Steps to Reproduce:
bcc32 qc85504.cpp
exp: clean compile
act:
Error: Unresolved external '__tpdsc__ IncompleteClassType' referenced from C:\CP
PTOOLS\AUTOMATION\BCC\HARNESS\BCCTESTS\QC85504.OBJ
Error: Unable to perform link
Workarounds
None
Attachment
JED76.zip
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us