New fpc 3.0.2 release

Hello,


the current FNC UI Pack 1.7.2.0 is not compiling against the new fpc 3.0.2. Will the TMS developer team switch to the new fpc version in the near future?

Best regards 

Hi, 


At this moment, we only support the Lazarus IDE which is still built against 3.0.0. As soon as an update is available, we'll investigate here what is needed to make our components compiled against FPC 3.0.2

Hi Ulrich,
In TMS FNC UI Core:
file:
- LCLTMSFNCGraphicsGeneral.pas - remove unit Types from uses section
- LCLTMSFNCGraphicsWin.pas - diff:

@@ -431,0 +432,3 @@ var
+    {$if FPC_FULLVERSION > 30000}
+    aSize: QWord;
+    {$ELSE}
@@ -433,0 +437 @@ var
+    {$ENDIF}


- LCLTMSFNCCustomControl.pas - remove unit Types from uses section

In TMS FNC UI Pack:
- LCLTMSFNCCustomTreeView.pas - remove unit Types from uses section
- LCLTMSFNCHint.pas - remove unit Types from uses section
- LCLTMSFNCGridPDFIO.pas - remove unit Types from uses section

Best regards
paweld

Pawel,


I just saw your message. I thought already that the problems are type mismatches but I didn't have time to figure it out in detail. Thank you for your help I will try for Win7/Linux(qt) platform.

Also today I saw the Lazarus 1.6.4 (fpc 3.0.2) release message, so I think tms will make the necessary modification for the official packages in the near future.

Best regards

I made it compile, even the LCLTMSFNCGraphicsUnix.pas needed some additional work if compiled against qt widget sets :


{$IFDEF LINUX}
{$IFDEF LCLGTK2}
gdk2, Gtk2Def,
{$ENDIF}
{$ENDIF}      

and

  {$IFDEF LINUX}
  {$IFDEF LCLGTK2}
  FNCanvas := gdk_cairo_create(TGtkDeviceContext(FBitmap.Canvas.Handle).Drawable);
  {$ENDIF}
  {$ENDIF}   

The same is in the new TMSFNCUIPack version 1.7.3 which is released today



Hi, 


We have applied this improvement, the next version will address this.