[fpc-pascal] Unable to compile JSON SuperObject on FPC 2.5.1
Michael Van Canneyt
michael at freepascal.org
Wed Nov 10 14:56:13 CET 2010
On Wed, 10 Nov 2010, José Mejuto wrote:
> Hello FPC-Pascal,
> Wednesday, November 10, 2010, 11:57:52 AM, you wrote:
>>> function QueryInterface(const IID: TGUID; out Obj): HResult;
>>> virtual; stdcall;
> MVC> The declaration of the IUnknown has been changed on non-windows platforms
> MVC> to be XP-COM compatible. You can copy the new definition from the system
> MVC> unit, file rtl/inc/objpash.inc. It's just a matter of adding some ifdefs to
> MVC> the declaration. The code inside should function OK.
> But also in Windows, QueryInterface has been changed to constref, so
> something like Zeos 6.6 needs an adjust before compile succesfully. Is
> this expected ?
I don't think so, this should be asked to Joost van der sluis.
More information about the fpc-pascal