[fpc-devel] RTTI

Steve Hildebrandt Steve.Kassel at web.de
Thu Aug 27 17:28:50 CEST 2015



Am 27.08.2015 um 15:23 schrieb Alfred:
> Thanks for making the changes to the RTTI branch !
>
> However, this branch does not compile, unless the following files are 
> added !
>
> compiler\owomflib.pas
> packages\mysql\src\mysql57dyn.pp
> packages\winunits-base\src\shlwapi.pp
> packages\fcl-web\src\base\httpprotocol.pp
> packages\fcl-web\src\base\cgiprotocol.pp
> packages\fcl-web\src\base\fpwebclient.pp
> packages\fcl-web\src\base\fpjwt.pp
> packages\fcl-web\src\base\fpoauth2.pp
> packages\fcl-web\src\base\fpoauth2ini.pp
> packages\fcl-web\src\base\fphttpwebclient.pp
> packages\fcl-web\src\base\restbase.pp
> packages\fcl-web\src\base\restcodegen.pp
> With these files, compiling is ok.
I'm a bit confused as to why some files went missing.
I will look into this issue.
> Running tests i386 (Win8.1).
>
> Testing the RTTI features reveals a small difference between the old 
> and the new RTTI version.
> All other RTTI features still work and also work as expected !
>
> Again, tested i386 on Win8.1
>
> procedure A2(const A: TIntegerArray);
> Previous stack size: 4.
> New stack size: 0.
> Previous ParReg: 255.
> New ParReg: 1.
> These two were the only differences on i386 with the new RTTI !
I changed nothing concerning the code generating the actual information, 
since they are only derived from information already available during 
the compiler run.
Seems like FPC now handles this diffrent.
Is this compatible with delphi?
If this is a problem at all, what calling convention was used?

msf Steve




More information about the fpc-devel mailing list