You are not logged in.
I'm getting an error "SynCommons.pas(5841): E1025 Unsupported language feature: 'TObject'" while trying to add unit mORMot.pas to uses in package. Delphi Sydney 10.4.
Steps:
1. File -> New -> Package
2. File -> New -> Unit
3. Add mORMot to uses
unit Unit3;
interface
uses
mORMot;
implementation
end.
Checking project dependencies...
Compiling Package2.dproj (Debug, Win32)
[dcc32 Error] SynCommons.pas(5841): E1025 Unsupported language feature: 'Object'
[dcc32 Error] SynCommons.pas(6432): E1025 Unsupported language feature: 'Object'
[dcc32 Error] SynCommons.pas(7255): E1025 Unsupported language feature: 'Object'
[dcc32 Error] SynCommons.pas(10254): E1025 Unsupported language feature: 'Object'
Offline
Tried to use the forum Search feature?
I think I've seen that same question and the solution more than once...
Offline
Yes a quick search in the forum returns for instance:
https://synopse.info/forum/viewtopic.ph … 281#p31281
I just have enhanced the documentation to state about E1025 compilation issue with packages.
Offline
Damn, you are right, it solves compilation errors I'm usually searching for this forum, why I was looking for solution on google only ...
Offline