Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/Delphi    [ Add a report in this area ]  
Report #:  102876   Status: Closed
Text.ReadUInt64 missing
Project:  Delphi Build #:  16.0.4358.45540
Version:    16.3 Submitted By:   Martin Sander
Report Type:  Crash / Data loss / Total failure Date Reported:  1/25/2012 1:20:02 AM
Severity:    Critical / Show Stopper Last Updated: 9/5/2012 8:01:59 PM
Platform:    All platforms Internal Tracking #:   289637
Resolution: Fixed (Resolution Comments) Resolved in Build: : 17.0.4625.53395
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
The compiler generates a call to Text.ReadUInt64, when an UInt64 should be read from a stream. The linker, however, complains that Text.ReadUInt64 is missing.


[DCC Fatal Error] E2158 System unit out of date or corrupted: missing 'Text.ReadUInt64'
Steps to Reproduce:
program ReadUInt;

uses SysUtils;

var
  uq1, uq2: UInt64;
  Stream: TextFile;

begin
  uq1 := 3;
  Assign(Stream, 'UInt64Write.tst');
  Rewrite(Stream);
  write(Stream, uq1:20); // no problem here
  Close(Stream);
  Reset(Stream);
  
  // [DCC Fatal Error] ReadUInt.DPR(16): E2158 System unit out of date or corrupted: missing 'Text.ReadUInt64'
  read(Stream, uq2); // but the linker complains about missing read function
  
  Close(Stream);
end.
Workarounds
None
Attachment
ReadUInt.zip
Comments

Tomohiro Takahashi at 1/25/2012 5:05:43 AM -
Could you please attach sample project to reproduce/verify your issue?

Martin Sander at 1/25/2012 12:55:02 PM -
Sure, project is attached.

Server Response from: ETNACODE01