we can not compile the CEF3 package
Original Reporter info from Mantis: stevewright
-
Reporter name: SteveWright
Original Reporter info from Mantis: stevewright
- Reporter name: SteveWright
Description:
We can not compile the CEF3 package (version 3.3029.1).
The compiler produces an error: cef3ref.pas(1577,1) Error: Local variables size exceeds supported limit.
Steps to reproduce:
Use fpcupdeluxe (i386-win32) to install Lazarus version 2.1.0, with FPC version 3.3.1 (SVN 59585M)
Download FPCEF3 (version 3.3029.1) and try to install in Lazarus by selecting cef3.lpk in the "Package/Open Package File" menu then select compile......
The compile fails with error: cef3ref.pas(1577,1) Error: Local variables size exceeds supported limit.
The code snippet this error points to is .......
procedure TCefBrowserHostRef.ImeSetComposition(const Atext:ustring; underlinesCount: TSize; underlines: TCefCompositionUnderlineArray; const
replacementRange, selectionRange: TCefRange);
Var
t: TCefString;
(line 1577:) begin
t := CefString(Atext);
PCefBrowserHost(fData)^.ime_set_composition(fData, @t,underlinesCount,@underlines,@replacementRange, @selectionRange);
end;
Additional information:
Internet search suggests that this may require an earlier version of FPC (3.0.2 ??) to compile successfully (https://github.com/dliw/fpCEF3/issues/55).
Mantis conversion info:
- Mantis ID: 34604
- OS: Windows
- OS Build: 10
- Platform: Intel Desktop PC
- Version: 3.3.1
- Monitored by: » Vincent (Vincent Snijders)