Fire problem during compilation with shared library (internal error)

Hello,
I have shared library used in .NET CORE, WPF AND COOPER with success and now I need to port it to TOFFEE.
I copied it to MAC OS and removed all errors .
Fire 10.0.0.2485 from Stable Channel, MAC OS Mojave (10.14.6)
There is no error in code but I have Internal Error and I don;t know what to do.
Log from Fire
FireLog.txt (140.4 KB)
I have no experience on iOS, I have just started my adventure …
Can You show me some direction or what should I do… ??

Internal Error is by definition a compiler bug. Can you send us the project (PM to me or support@ is fine)?

thanx!
marc

Thanks, logged as bugs://84118

Thanks, logged as bugs://84120

If it helps wording around the issue for now, it fails on one (or both)( of three for loops;

#> (edb) po element
~> {for each vParametr: inpx_wspolne.ParametrREST.IInpx_RestParametr in self.Parametry().ParametryWCF() do
~> }

Ok. Thank you good info is that you found it. THANK YOU VERY MUCH!!

1 Like

Glad I could help!

Marc after your direction I found that problem is exactly here
old code :

for each vParametr in Parametry.ParametryWCF do
{$IF ECHOES OR COOPER}
if assigned(vParametr.Wartosc) and (vParametr.Wartosc is array of Byte) then
vParametr.Wartosc := array of Byte([]);
{$ENDIF}

new one :

for each vParametr in Parametry.ParametryWCF do
begin
{$IF ECHOES OR COOPER}
if assigned(vParametr.Wartosc) and (vParametr.Wartosc is array of Byte) then
vParametr.Wartosc := array of Byte([]);
{$ENDIF}
end;
I added begin end and directive inside and compiled without any problems
Maybe it will be better direction for Carlo.

1 Like