Re: [fpc-devel] Strange behaviour of ;

2005-10-20 Thread Marc Weustink
I can confirm this on linux-i386 2.0.0 and darwin-ppc 2.0.1 It looks like "+ " is parsed wrong. The next "program" compiles fine. Marc program testplus; {$mode objfpc} {$H+} begin + ParamStr(0); + ParamCount; + Exit; + WriteLN; end. Alexander Todorov wrote: Hi all, i have noticed

[fpc-devel] FpDup2 dosen't work!

2005-10-20 Thread Linuxer Wang
Hi, all I can't make FpDup2 work. Even the example provided by the document can't work as well. My system is fedora4 linux, freepascal 2.0.0 [2005/08/17] for i386. Can anybody help me? Thanks program Example31; { Program to demonstrate the Dup function. } uses BaseUnix; var f : text; i : longi

Re: [fpc-devel] fpc-2.0.0 generating SYSV .o files on FreeBSD

2005-10-20 Thread Marco van de Voort
> I'm having problems with fpc on FreeBSD and would to know if you > have seen this. > > My intention is compile a delphi project to generate a library (.so) > file to use inside firebird database. But I always have problems, > the .so file is generated aparently correctly, like you can see here:

[fpc-devel] Strange behaviour of ;

2005-10-20 Thread Alexander Todorov
Hi all, i have noticed something strange and I am not sure if this is a bug or a feature. strSQL := Copy(strSQL,1,Length(strSQL)-1) + ' WHERE '; strSQL := strSQL ; + ConstructWhereClause; --^ This part of code must construct a sql sttement which is

[fpc-devel] fpc-2.0.0 generating SYSV .o files on FreeBSD

2005-10-20 Thread Renato Botelho
I'm having problems with fpc on FreeBSD and would to know if you have seen this. My intention is compile a delphi project to generate a library (.so) file to use inside firebird database. But I always have problems, the .so file is generated aparently correctly, like you can see here: libgalleudf