Hello everybody.

OK, fixed in last mseide-msegui commit:
https://github.com/mse-org/mseide-msegui/commit/e0850056fc5fc8c4ed56e72ef3bfe4abdcbecf85

The trick is to add {$modeswitch arraytodynarray} in mo2arrays.pas and 
mo4stock.pas.
See: 
https://forum.lazarus.freepascal.org/index.php/topic,59471.msg443380.html#msg443380

Have perfect days.

Fre;D
________________________________
De : Fred van Stappen <fi...@hotmail.com>
Envoyé : vendredi 27 mai 2022 12:51
À : mseide-msegui-talk@lists.sourceforge.net 
<mseide-msegui-talk@lists.sourceforge.net>
Objet : [MSEide-MSEgui-talk] Direct typecast is no longer allowed in fpc trunk

Hello everybody.

I hope all is ok for you.

In last trunk fpc 3.3.1 direct typecast is no longer allowed.
I did try to compile many msegui programs and all seems ok, apart for 
/mseide-msegui/tools/POtools/MOdemo/modemo.pas.

I can try to fix it but, Sieghard, if you read that post, maybe you can take a 
look at your code.

There is a Lazarus post that explains how to fix that (strange) direct typecast 
no longer allowed feature:

https://forum.lazarus.freepascal.org/index.php/topic,59471.msg443380.html#msg443380

Have perfect days.

Fre;D

_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to