[fpc-devel] JWA 64-bit struct packing
Henry Vermaak
henry.vermaak at gmail.com
Sat May 16 16:17:00 CEST 2020
On Thu, 14 May 2020 at 22:48, Marco van de Voort
<fpc at pascalprogramming.org> wrote:
> Those are probably the exceptions then. But jwa* is delphi compat, so
> can't use $PUSH/$POP, so changing defaults is less useful, since it will
> be undone at the first exception
What's even worse is that SetEntriesInAcl() was still crashing with
{$packrecords c} because Jedi used packed records for EXPLICIT_ACCESS
and TRUSTEE. Remove packed and it works fine (with {$packrecords c}
that is).
So I'm going to conclude that most of this is unusable and cumbersome
to fix on 64-bit. It probably warrants a compiler error or warning at
least when any jwa* unit is compiled for 64-bit.
Henry
More information about the fpc-devel
mailing list