#1 2021-06-29 08:06:44

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 224
Website

[dcc32 Error] mormot.rest.mvc.pas(1095): E2250 There is no overloaded

Hi,

I got the following to error messages:

[dcc32 Error] mormot.rest.mvc.pas(1095): E2250 There is no overloaded version of 'UTF8ToString' that can be called with these arguments
[dcc32 Error] mormot.rest.mvc.pas(1853): E2250 There is no overloaded version of 'UTF8ToString' that can be called with these arguments

Both could be fixed similar to

Utf8ToString(fFactory.Methods[m].Uri, MethodName);

->

Utf8ToString(fFactory.Methods[m].Uri, string(MethodName));

Delphi 10.4.2 - all updates

Offline

#2 2021-06-29 09:11:30

tbo
Member
Registered: 2015-04-20
Posts: 335

Re: [dcc32 Error] mormot.rest.mvc.pas(1095): E2250 There is no overloaded

I have an MVC application that uses a version of mORMot2 from may, here the error was not present. The source code looked like this:

MethodName := Utf8ToString(fFactory.Methods[m].Uri); 

Update: Error comes with GitHub commit 5be0f47 from Jun 18, 2021.

With best regards
Thomas

Last edited by tbo (2021-06-29 10:01:22)

Offline

#3 2021-07-01 15:15:06

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 224
Website

Re: [dcc32 Error] mormot.rest.mvc.pas(1095): E2250 There is no overloaded

Ping @ab :-)

Offline

#4 2021-07-01 17:46:48

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

Re: [dcc32 Error] mormot.rest.mvc.pas(1095): E2250 There is no overloaded

Indeed.

Should be fixed now.

Offline

Board footer

Powered by FluxBB