#1 2013-03-29 12:26:02

colbert
Member
Registered: 2013-03-02
Posts: 38
Website

Error compiling mORMot in Delphi X2

Hello,

The last version does not compile in Delphi XE2. http://synopse.info/fossil/info/38f27c96d6

Error that shows is "Undeclared identifier: 'List' "

Offline

#2 2013-03-29 12:54:27

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

Re: Error compiling mORMot in Delphi X2

Offline

#3 2013-03-29 13:10:33

colbert
Member
Registered: 2013-03-02
Posts: 38
Website

Re: Error compiling mORMot in Delphi X2

Hi, thanks for the answer.

But now it gives another error: "Can't create new instance without CONSTRUCTOR constraint in type parameter declaration"

Offline

#4 2013-03-29 14:11:22

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

Re: Error compiling mORMot in Delphi X2

Yes, I know... generic implementation is pretty weird...

Should be fixed by http://synopse.info/fossil/info/eb3e0eff82

By the way, debugging some code involving generics just slow down the whole IDE a lot.
It is almost impossible to use the CPU view, for instance.
sad

Offline

#5 2013-03-29 15:46:56

colbert
Member
Registered: 2013-03-02
Posts: 38
Website

Re: Error compiling mORMot in Delphi X2

Great, now works perfectly.

Thanks.

S. Colbert

Offline

Board footer

Powered by FluxBB