[lazarus] Making FCL with latest compiler

Paul Pritchard ppritcha at delphiplanet.com
Mon Sep 13 18:02:04 EDT 1999


Thanks all for the help.  I checked out the FCL again using CVS, and was
able to compile it.  Lazarus will also compile now.

Does anyone know what runtime error 216 is?  I got this several times while
trying to compile earlier; looks like Jeff did also.

--Paul

-----Original Message-----
From: Jeffrey A. Wormsley [mailto:daworm at cdc.net]
Sent: Monday, September 13, 1999 4:27 PM
To: lazarus at miraclec.com
Subject: [lazarus] Making FCL with latest compiler


I just built (45 minutes ago) the compiler with no apparent problems.  When
I use it to compile the FCL under Win32 I get the following:

[WINDOZE] E:\pp\source\fcl>make
e:/pp/bin/win32/make.exe -C win32 all
make.exe[1]: Entering directory `e:/pp/source/fcl/win32'
ppc386.exe -Twin32 -S2  -Fue:/pp/source/rtl/win32
-Fue:/pp/source/units/win32 -F
i../inc -Fi../i386 -FE.  -di386 classes.pp
Free Pascal Compiler version 0.99.13 [1999/09/13] for i386
Copyright (c) 1993-99 by Florian Klaempfl
Target OS: Win32 for i386
Compiling classes.pp
Compilation aborted util.inc:5
Run time error  216 at 0xBFF7B457
  0x0049733B
  0x00497BF2
  0x0049772F
  0x004973E8
  0x004928C9
  0x00442101
  0x0042ECB0
  0x0042F68D
  0x0044EFD4
make.exe[1]: *** [classes.ppw] Error 216
make.exe[1]: Leaving directory `e:/pp/source/fcl/win32'
make.exe: *** [all] Error 2

Anyone else have this problem?  Any solutions?  The part of util.inc file
that it is ending on is on the end; statement of the StrToInt function.
That function is simply:

Function IntToStr (I : Longint) : String

begin
  Str(I,Result);
end;

I tried rewriting it on a hunch as :

Function IntToStr (I : Longint) : String
Var S: String;
begin
  Str(I,S);
  Result := S;
end;

and as

Function IntToStr (I : Longint) : String
Var S: String;
begin
  Str(I,S);
  IntToStr := S;
end;

to no effect.  It always errors out on the end; statement.

Jeff.

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list