#1 2012-12-06 15:34:57

corchi72
Member
Registered: 2010-12-10
Posts: 232

Error to compile last version " [d2bc05859c] "

in the downloaded version if you compile the example Synfile an error occurs in the line

  /// the type of custom main User Interface description of SynFile
  TFileRibbonTabParameters = object(TSQLRibbonTabParameters)
    /// the SynFile actions
    Actions: TFileActions;
  end;

so I looked at the code below and saw that the old version

  TSQLRibbonTabParameters = object
  public

and not

 {$ifndef UNICODE}
  TSQLRibbonTabParameters = object
  {$else}
  TSQLRibbonTabParameters = record
  {$endif}
  public


maybe you wanted to write  {$ifdef UNICODE} TSQLRibbonTabParameters = object {$else}

Offline

#2 2012-12-06 15:41:19

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Error to compile last version " [d2bc05859c] "

Yes.
My mistake.

"object" can inherit, but "record" can't.
wink

I hate the EMB Delphi regressions.
See http://synopse.info/forum/viewtopic.php?id=80

Fixed by latest commit.
Thanks for the immediate report.

Offline

Board footer

Powered by FluxBB