Re: [fpc-pascal] UIB on Linux X86_64

2008-09-12 Thread Lukas Gradl
Solved the problem: Its in uiblib.pas and uibase.pas: {$IFNDEF CPU64} {$ALIGN ON} {$MINENUMSIZE 4} {$ENDIF} The MINENUMSIZE should be set always and not only for non-64bit CPUs as the source is compiled using {$mode delphi} - MINENUMSIZE is 1 by default for delphi. So it should read: {$

[fpc-pascal] UIB on Linux X86_64

2008-09-08 Thread Lukas Gradl
Another problem occured: When using UIB with fpc on X86_64 field values are always empty (for strings) or 0 (for integers). For demonstrating the problem I created the following program: Failes with: FPC 2.3.1 svn, UIB latest svn, Firebird 2.0, OS Ubuntu 8.04 X86_64 OK with: FPC 2.3.1 svn, U