Op 15-4-2026 om 22:23 schreef Michael Van Canneyt via fpc-devel:

But packages and most utils are quite independent, with exception of the text-mode IDE, as it needs the compiler, and possibly the RTTI unit.

rtl-objpas contains rttiĀ  unit and there is vcl-compat with many incompat changes.

The rtti unit can be compiled for 3.2.2, it will miss some functionality, but it will still be available. The only thing it really relies upon from trunk is the actual extended rtti info, so people will get limited info.

And function references, custom attributes. Though that might be a matter of adding ifdefs:


C:\repo\fpc\packages\rtl-objpas\src\inc>fpc rtti.pp
Free Pascal Compiler version 3.2.2 [2021/05/15] for i386
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling rtti.pp
rtti.pp(27,2) Warning: Illegal compiler switch "FUNCTIONREFERENCES+"
rtti.pp(91,45) Error: Identifier not found "TCustomAttribute"
rtti.pp(91,61) Error: Type identifier expected
rtti.pp(91,62) Error: Error in type definition
rtti.pp(358,75) Error: Identifier not found "TCustomAttribute"
rtti.pp(361,50) Error: Type "TCustomAttributeArray" is not completely defined
rtti.pp(385,18) Error: Illegal expression
rtti.pp(409,50) Error: Type "TCustomAttributeArray" is not completely defined
rtti.pp(424,34) Error: Identifier not found "RTLString"
rtti.pp(424,14) Error: There is no method in an ancestor class to be overridden: "ToString:<erroneous type>;"
rtti.pp(473,46) Error: Duplicate identifier "GetName"
rtti.pp(555,5) Warning: Constructor should be public
rtti.pp(582,18) Error: Illegal expression
rtti.pp(599,50) Error: Type "TCustomAttributeArray" is not completely defined
rtti.pp(618,15) Error: Identifier not found "PExtendedFieldEntry"
rtti.pp(618,34) Error: Error in type definition
rtti.pp(619,18) Error: Illegal expression
rtti.pp(628,50) Error: Type "TCustomAttributeArray" is not completely defined rtti.pp(628,14) Note: Virtual method "GetAttributes:<erroneous type>;" has a lower visibility (protected) than parent class TRttiObject (public)
rtti.pp(664,35) Error: Identifier not found "reference"
rtti.pp(664,45) Error: Error in type definition
rtti.pp(664,45) Fatal: Syntax error, ";" expected but "TO" found
Fatal: Compilation aborted
Error: c:\fpc\3.2.2\bin\i386-win32\ppc386.exe returned an error exitcode

_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to