#1 2020-06-29 14:59:37

EMartin
Member
From: Buenos Aires - Argentina
Registered: 2013-01-09
Posts: 332

Duplicate entry error compiling with Laz/FPC

Hi @ab, I tried compile LogView.lpi with Laz 2.0.8/FPC 3.2.0 and have error in SynMemoEx.pas:

const
  RAEditorCompletionChars: set of AnsiChar =
    [#8, '_', '0'..'9', 'A'..'Z', 'a'..'z'];
  Separators: set of AnsiChar =
    [#0, ' ', '-', #13, #10, '.', ',', '/', '\', ':', '+', '%', '*', '(', ')',
    ';', '=', '{', '}', '[', ']', '{', '}', '|', '!', '@', '"']; 

the '{', '}' is duplicated.

UPDATE

  • SynMemoEx.pas(567,40) Error: Identifier not found "TCreateParams" in TCustomMemoEx in Laz 2.0.8 / FPC 3.2.0

  • With Delphi 10.3 no error is raised by the compiler (either duplicated entry and TCreateParams.

I thought that LogView was FPC/Windows compatible, my mistake.

Best regards.

Last edited by EMartin (2020-06-29 15:34:05)


Esteban

Offline

#2 2020-06-29 19:32:39

mpv
Member
From: Ukraine
Registered: 2012-03-24
Posts: 1,534
Website

Re: Duplicate entry error compiling with Laz/FPC

It's compartible with FPC in case of Linux target. May be some small changes required for Windows

Offline

#3 2020-07-01 12:47:54

EMartin
Member
From: Buenos Aires - Argentina
Registered: 2013-01-09
Posts: 332

Re: Duplicate entry error compiling with Laz/FPC

Thanks @mpv, unfortunately our target development is Windows and I want migrate from Delphi 4 to FPC/Lazarus but with this limitation cannot will be possible.


Esteban

Offline

#4 2020-07-01 14:44:50

mpv
Member
From: Ukraine
Registered: 2012-03-24
Posts: 1,534
Website

Re: Duplicate entry error compiling with Laz/FPC

@EMartin - please, try this brunch https://github.com/synopse/mORMot/tree/fix/logViewFPC
Or manually apply a changes as in https://github.com/synopse/mORMot/pull/329/files
If everything is OK we can ask @ab to merge it into master

Last edited by mpv (2020-07-01 14:46:46)

Offline

#5 2020-07-01 15:34:22

EMartin
Member
From: Buenos Aires - Argentina
Registered: 2013-01-09
Posts: 332

Re: Duplicate entry error compiling with Laz/FPC

I'll test that, thank you very much @mpv


Esteban

Offline

#6 2020-07-01 15:40:59

EMartin
Member
From: Buenos Aires - Argentina
Registered: 2013-01-09
Posts: 332

Re: Duplicate entry error compiling with Laz/FPC

ok, @ab patched the @mpv pull request, the @ab speed is as warp 9 in Star Trek (and @mpv too).


Esteban

Offline

Board footer

Powered by FluxBB