Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/C++/MS Compat.    [ Add a report in this area ]  
Report #:  18600   Status: Closed
(Pulled) Microsoft Visual C++ maps the type 'long double' to 'double'.  This will cause linker errors 'unresolved external' when linking
Project:  C++Builder Build #:  4.0.14.4
Version:    5.0 Submitted By:   John Kaster
Report Type:  Crash / Data loss / Total failure Date Reported:  11/9/1999 12:00:00 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   74307
Resolution: Retest (Resolution Comments) Resolved in Build: : 10.0.2098.14501
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Microsoft Visual C++ maps the type 'long double' to 'double'.  This will cause linker errors 'unresolved external' when linking to a function in an MS-generated DLL when that function takes a long double parameter.
Steps to Reproduce:
[With both C++Builder and Visual C++ in the path:]
make -B
//res:
Turbo Incremental Link 4.80 Copyright (c) 1997, 1999 Borland
Error: Unresolved external 'testf0::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf1::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf2::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf3::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf4::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf5::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf6::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf7::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf8::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf9::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf10::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf11::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Error: Unresolved external 'testf12::{794}...' referenced from D:\EDJ SUITES\MSFASTCALL\TEST.OBJ
Workarounds
None
Attachment
N
Comments

None

Server Response from: ETNACODE01