Jump to content
John Kouraklis

Casbin4D

Recommended Posts

demo d10.2.3

[dcc32 Error] Casbin.Policy.pas(604): E2010 Incompatible types: 'TStringDynArray' and 'System.TArray<System.string>'

Edited by limelect

Share this post


Link to post

Seems to be written in 10.3 where TStringDynArray is declared as TArray<string> whereas before it was a dedicated array of string.

My suggestion is to not use the dynamic array types from System.Types anywhere and wherever you work with any RTL functions that use them, hardcast in order to be compatible to <10.3.

Share this post


Link to post

I uploaded a package for 10.2 

 

Very welcome to test and see if all is good.

 

Also, it would be great if someone could check/test/create packages for other versions as I don't have any other installed. Please see the open issue on github.

 

Thanks👌

Share this post


Link to post

Sounds like a interesting project.

 

Would be way better to use library for that kind of things than to make one of your one. most likely.

 

-Tee-

Edited by Tommi Prami

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×