Re: [fpc-devel] MySQL components in SQLDB

2006-04-07 Thread Doug Nettleton
Hi All, I'm new here - variously playing with Lazarus and mseide&msegui. I posted the following at public.mseide-msegui.talk: bug in tmsesqlquery, certain field types don't appear in the FieldDefs list. Initailly, I had a file with four character fields and four decimal(7,3) fields. "selec

Re: [fpc-devel] LocateNext

2006-04-07 Thread Michael Van Canneyt
On Fri, 7 Apr 2006, Micha Nelissen wrote: > On Fri, 07 Apr 2006 21:16:23 +0200 > Joost van der Sluis <[EMAIL PROTECTED]> wrote: > > > function Locate(const keyfields: string; const keyvalues: Variant; > > options: TLocateOptions; LocateNext : boolean ) : boolean; > > > > So that it's possib

Re: [fpc-devel] LocateNext

2006-04-07 Thread Micha Nelissen
On Fri, 07 Apr 2006 21:16:23 +0200 Joost van der Sluis <[EMAIL PROTECTED]> wrote: > function Locate(const keyfields: string; const keyvalues: Variant; > options: TLocateOptions; LocateNext : boolean ) : boolean; > > So that it's possible to doe a 'locatenext' > > But I saw that sqlite simply

[fpc-devel] LocateNext

2006-04-07 Thread Joost van der Sluis
Hi all, I'm busy implementing TBufDataset.Locate and friends. I had the idea to overload Locate like this: function Locate(const keyfields: string; const keyvalues: Variant; options: TLocateOptions; LocateNext : boolean ) : boolean; So that it's possible to doe a 'locatenext' But I saw that

[fpc-devel] definition of TRect on Mac OS

2006-04-07 Thread Den Jean
Hi, in the Qt4 binding I do a direct copy of qrect into trect, therefore qrect and trect need to have the same binary layout. For some reason the definition of trect on Mac Os X is different qrect.h: - #if defined(Q_OS_MAC) int y1; int x1; int y2; int x2; #else int x1

Re: [fpc-devel] Hitting bug 4733

2006-04-07 Thread Yves Glodt
On 07/04/06, Peter Vreman <[EMAIL PROTECTED]> wrote: > > On 07/04/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > >> > (Generally, I am not even sure compiling with -fPIC will resolve my > >> problem...) > >> > >> No. > >> > >> I see that you have used version 2.0.0 of FPC. Can you try to u

Re: [fpc-devel] Hitting bug 4733

2006-04-07 Thread Peter Vreman
> On 07/04/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > >> > Now, brave as I am I checked out svn and tried to build the beast, >> > with the -fPIC directive, but I failed miserably >> >> -fPIC is for gcc, ld erroneously assumes that the code comes from gcc >> :-) >> >> > because I cou

Re: [fpc-devel] Hitting bug 4733

2006-04-07 Thread Yves Glodt
On 07/04/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > Now, brave as I am I checked out svn and tried to build the beast, > > with the -fPIC directive, but I failed miserably > > -fPIC is for gcc, ld erroneously assumes that the code comes from gcc :-) > > > because I could simply not f

Re: [fpc-devel] Hitting bug 4733

2006-04-07 Thread Michael Van Canneyt
On Fri, 7 Apr 2006, Yves Glodt wrote: Hello, I am trying to compile a Firebird UDF library with fpc 2.0.0 under on the amd64 architecture (precisely: ubuntu dapper preview release), but unfortunately I hit bug 4733... That is: The code compiles fine, but fails to link, here below the complete