Конференция "KOL" » KOLGRushControls Could not compile Delphi 10 [Delphi, Windows]
 
  • RusSun © (02.10.14 20:05) [0]
    KOLGRushControls Could not compiled in Delphi 10 Lite v3.0
    Messages:
    Build
     [Pascal Error] KOLGRushControls.pas(202): E2006 PACKED not allowed here
     [Pascal Fatal Error] Project1.dpr(5): F2063 Could not compile used unit 'KOLGRushControls.pas'



    In KOLGRushControls.pas

    202 : TGRushData = packed object(TObj)
                      fSplDotsOrient:     TGRushOrientation;

           fPSDef:             TGRushPaintState;
           fPSOver:            TGRushPaintState;
           fPSDown:            TGRushPaintState;
           fPSDis:             TGRushPaintState;
    //176
           fContentOffsets:    TRect;
           fGlyphWidth:        DWORD;
           fGlyphHeight:       DWORD;
           fSplitterDotsCount: DWORD;
           fCheckMetric:       DWORD;
           fColorCheck:        TColor;
    //208
           fGlyphVAlign:       TGRushVAlign;
           fGlyphHAlign:       TGRushHAlign;
    ...

  • ParanoiS © (09.10.14 10:14) [1]
    не совсем так.

       TGRushData = {$IFNDEF _D2005orHigher} packed {$ENDIF} object(TObj)

    вот так правильно. Д10лайт - это 2006-я.
  • RusSun © (10.10.14 17:40) [2]
    Нашел KOLGRushControls то, что Redsnake присылал.
    Он даёт следующее
    [Pascal Warning] Project1.dpr(39): W1024 Combining signed and unsigned types - widened both operands
    [Pascal Error] Project1.dpr(102): E2010 Incompatible types: 'KOLGRushControls.TGRushGradientStyle' and 'Project1.TGRushGradientStyle'
    [Pascal Error] Project1.dpr(115): E2010 Incompatible types: 'KOLGRushControls.TGRushGradientStyle' and 'Project1.TGRushGradientStyle'
    [Pascal Error] Project1.dpr(127): E2010 Incompatible types: 'KOLGRushControls.TGRushGradientStyle' and 'Project1.TGRushGradientStyle'
    [Pascal Error] Project1.dpr(140): E2010 Incompatible types: 'KOLGRushControls.TGRushGradientStyle' and 'Project1.TGRushGradientStyle'



    Вот посмотрел,
    http://rapid.ufanet.ru/66193539
    но не уверен, что поправку сделал грамотно.)
 
Конференция "KOL" » KOLGRushControls Could not compile Delphi 10 [Delphi, Windows]
Есть новые Нет новых   [118238   +18][b:0][p:0.001]