You are not logged in.
Pages: 1
Delphi XE, mORMot2 commit 0081ea9
Unit mormot.crypt.secure.pas, line 1066, 1119
function Process(const src: TBytes; out dst: TBytes;
const aeadinfo: TBytes = nil): boolean; overload; <--- TBytes = nil !!!
[DCC Fehler] mormot.crypt.secure.pas(1066): E2268 Parameter dieses Typs dürfen keine Standardwerte haben
Translation: Parameters of this type must not have default values
With best regards
Thomas
Offline
This is clearly a Delphi XE bug.
I don't have any problem with Delphi 7, 2007, 2009, 2010, XE4, XE7, XE8, 10.3 or 10.4.2...
I tried to circumvent Delphi XE bug by using TByteDynArray instead of TBytes...
Please try https://github.com/synopse/mORMot2/commit/a2332cebb75b9
Offline
Pages: 1