[yunqa.de] DISQLite3 and Free Pascal

  • From: Alex Vulpe <alex.vulpe@xxxxxxxxx>
  • To: "yunqa@xxxxxxxxxxxxx" <yunqa@xxxxxxxxxxxxx>
  • Date: Sun, 07 Feb 2016 18:08:54 +0000

Hi,

I'm trying to compile DISQLite3 (v3.1.2) with Free Pascal (3.1.1) and it
fails on file DISQLite3Api, line 1519 ( SQLITE_STATIC: TSQLite3_Destructor
= TSQLite3_Destructor(0); ) saying "DISQLite3Api.pas(1519,62) Error:
Illegal expression".

My questions are:
1. Isn't DISQLite3 Free Pascal compatible? I noticed in DICompilers.inc
conditional defines related to FPC, so I was expecting it to be.

2. I noticed in DICompilers.inc file, in case of FPC, there is a directive:
{$ASMMODE Intel}.
Does it mean that it will not be possible to cross compile my program to
powerpc-aix architecture?

Regards,
Alex.

Other related posts: