Recent

Author Topic: Error compiling fpCEF which is strange  (Read 1530 times)

JamesBond

  • Newbie
  • Posts: 3
Error compiling fpCEF which is strange
« on: March 14, 2020, 10:55:10 pm »
I have been getting these errors which is frustrating

cef3/cef3types.pas(1032,3) Error: (3352) Enumeration symbols can only have values in the range of -2^31 to 2^31-1
cef3/cef3types.pas(1186,40) Error: (3352) Enumeration symbols can only have values in the range of -2^31 to 2^31-1
cef3/cef3types.pas(1189,36) Error: (3352) Enumeration symbols can only have values in the range of -2^31 to 2^31-1
cef3/cef3types.pas(1193,3) Error: (3352) Enumeration symbols can only have values in the range of -2^31 to 2^31-1
cef3/cef3types.pas(2418,1) Fatal: (10026) There were 4 errors compiling module, stopping
Fatal: (1018) Compilation aborted
fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
Error: (lazarus) Compile package CEF3 3.3029.1: stopped with exit code 1

if anyone wondering CEF 3.3.3029 is the latest for fpCEF

440bx

  • Hero Member
  • *****
  • Posts: 3946
Re: Error compiling fpCEF which is strange
« Reply #1 on: March 14, 2020, 11:10:43 pm »
I'm disappointed.  If the Soviets during the cold war had known that a few compiler error messages could baffle James Bond, the Queen would have been in trouble.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

JamesBond

  • Newbie
  • Posts: 3
Re: Error compiling fpCEF which is strange
« Reply #2 on: March 14, 2020, 11:20:03 pm »
I'm disappointed.  If the Soviets during the cold war had known that a few compiler error messages could baffle James Bond, the Queen would have been in trouble.

lol this isn't the first time i have used the same component however on this fresh OS install its being a ***** and not compiling >.>

btw Lazarus 2.1.0
and FPC version is 3.3.1

JamesBond

  • Newbie
  • Posts: 3
Re: Error compiling fpCEF which is strange
« Reply #3 on: March 15, 2020, 12:19:25 am »
Aight so it has finally compiled but with FPC version 3.0.4 and Lazarus version 2.0.6

440bx

  • Hero Member
  • *****
  • Posts: 3946
Re: Error compiling fpCEF which is strange
« Reply #4 on: March 15, 2020, 12:24:59 am »
Aight so it has finally compiled but with FPC version 3.0.4 and Lazarus version 2.0.6
Good.  James Bond is back, the Queen is safe. :)
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

contle

  • Newbie
  • Posts: 1
Re: Error compiling fpCEF which is strange
« Reply #5 on: October 15, 2020, 10:15:52 am »
I just ran into the same problem (also CEF, same version), that made me think, why earlier versions of FP supported 64 bit enum types, and not anymore...

PascalDragon

  • Hero Member
  • *****
  • Posts: 5446
  • Compiler Developer
Re: Error compiling fpCEF which is strange
« Reply #6 on: October 15, 2020, 10:35:46 am »
Earlier versions did not support them. That it might have worked nevertheless was simply a bug/oversight. Enums only support the range Low(LongInt) .. High(LongInt).

 

TinyPortal © 2005-2018