<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Jonas!<div><br></div><div>Thanks by your feedback. Do you think that should I fill a bug report?<br><br>The datatype that throws this error is this (cef3types.pas:2416):<br><br>TCefCompositionUnderlineArray = array[0..(High(Integer) div SizeOf(TCefCompositionUnderline)) - 1] of TCefCompositionUnderline; <br></div><div><br></div><div>The TCefCompositionUnderline is a record with 20 bytes of size (5x32 bits fields/vars into this record). So only this var exceeds this limit on 32 bits systems.</div><div><br></div><div>The error is throw on this procedure, in cef3ref.pas:1574</div><div><br></div><div><div>procedure TCefBrowserHostRef.ImeSetComposition(const text: ustring; underlinesCount: TSize;</div><div> underlines: TCefCompositionUnderlineArray; const replacementRange, selectionRange: TCefRange);</div></div><div><br></div><div>I think that 2GB on 64 bits a very conservative limit.</div><div><br></div><div>Jonas, do you remember the revision number where this was changed?</div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sáb, 9 de mar de 2019 às 07:59, Jonas Maebe <<a href="mailto:jonas@freepascal.org">jonas@freepascal.org</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 07/03/2019 21:32, Fabio Luis Girardi wrote:<br>
<br>
> I'm trying to use the FPC 3.2.0 beta + Lazarus 2.0.1 with fpCEF3. But <br>
> when I try compile this package with FPC 3.2.0 I got this error:<br>
> <br>
> Error: Local variables size exceeds supported limit<br>
> <br>
> But the same package compiles fine with FPC 3.0.4 and 3.0.5.<br>
<br>
FPC 3.2.0 limits the total size of local variables and parameter space <br>
for a single procedure/function to 2GB on 32 bit and 64 bit targets. On <br>
FPC 3.0.4 the limit was the maximum size supported by the address space.<br>
<br>
The previous size check for the locals was not working correctly <br>
according to the commit message, but I don't know why this was changed <br>
like that for 64 bit targets.<br>
<br>
<br>
Jonas<br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">The best regards,<br><br>Fabio Luis Girardi<br>PascalSCADA Project<br><a href="http://sourceforge.net/projects/pascalscada" target="_blank">http://sourceforge.net/projects/pascalscada</a><br><a href="http://www.pascalscada.com" target="_blank">http://www.pascalscada.com</a></div>