Re: [fpc-pascal] conformant arrays and Free Pascal

2009-11-06 Thread Michael Van Canneyt



On Thu, 5 Nov 2009, Bruce Bauman wrote:


I am trying to convert a huge amount of code written in MetaWare
Professional Pascal to Free Pascal. Unfortunately, the MetaWare code
makes fairly extensive use of Pascal conformant arrays.

Free Pascal's open arrays are similar, but modifying all of the uses of
conformant arrays would be a fairly big job.


Can you give us some more info on conformant arrays ? 
It's the first time I heard of such a construct.


Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpc and Sqlite UDF

2009-11-06 Thread Luiz Americo Pereira Camara

Nataraj S Narayan escreveu:

Hi  Luiz

Getting this:-

 /software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux
-Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT
-CaEABI -darm -gl -O- -CpARMV5  -uUSE_LOCALIZE
-Fu/software/fpc-arm/units/arm-linux/ testfunction.pas
Free Pascal Compiler version 2.5.1 [2009/10/23] for arm
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for ARM
Compiling testfunction.pas
testfunction.pas(25,66) Error: Identifier not found sqlite3_value_int
testfunction.pas(42,21) Error: Identifier not found sqlite3_result_int
testfunction.pas(59,23) Error: Identifier not found sqlite3_result_int
testfunction.pas(62,25) Error: Identifier not found sqlite3_result_int
testfunction.pas(65,27) Error: Identifier not found sqlite3_result_int
testfunction.pas(124) Fatal: There were 5 errors compiling module, stopping
Fatal: Compilation aborted


Any Sqlite version problem?

On SQLite version 3.4.2

  


It's compiling here both with fpc224 and 251 but for win32.

It seems a problem in the sqlite3 header for arm

Luiz
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] conformant arrays and Free Pascal

2009-11-06 Thread Jonas Maebe


On 06 Nov 2009, at 09:03, Michael Van Canneyt wrote:

Can you give us some more info on conformant arrays ? It's the first  
time I heard of such a construct.


http://docs.hp.com/cgi-bin/doc3k/B3150290023.10194/53


Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] conformant arrays and Free Pascal

2009-11-06 Thread Michael Van Canneyt



On Fri, 6 Nov 2009, Jonas Maebe wrote:



On 06 Nov 2009, at 09:03, Michael Van Canneyt wrote:

Can you give us some more info on conformant arrays ? It's the first time I 
heard of such a construct.


http://docs.hp.com/cgi-bin/doc3k/B3150290023.10194/53


Hmmm.
Does not sound like something easily supported :(

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal