[fpc-devel] fpc-svn177-units-Mysql broken

Alexandrov Alexandru alexandru.alexandrov at gmail.com
Fri Jun 3 08:09:41 CEST 2005


there is an inconsistency:

  TDateTimeRec = record
    case TFieldType of
      ftDate: (Date: Longint);
      ftTime: (Time: Longint);
      ftDateTime: (DateTime: TDateTimeAlias);
  end;

   TTimeStamp = record
      Time: integer;   { Number of milliseconds since midnight }
      Date: integer;   { One plus number of days since 1/1/0001 }
   end ;

TTimeStamp,Date is integer, and TDateTimeRec.ftDate is longint. 

on AMD 64 integer<>longint?

Alex


On 6/3/05, Jan Ruzicka <jan.ruzicka at comcast.net> wrote:
> Hi
> 
> the latest version (177) of fpc in svn does not compile on Mac OS X
> 10.3.9.
> 
> The make all ends with following:
> 
> /Users/j/fpc/fpc-svn/compiler/ppcppc -Xs -O1 -n -S2
> -Fu/Users/j/fpc/fpc-svn/rtl/units/powerpc-darwin
> -Fu/Users/j/fpc/fpc-svn/packages/base/ibase/units/powerpc-darwin
> -Fu/Users/j/fpc/fpc-svn/packages/base/postgres/units/powerpc-darwin
> -Fu/Users/j/fpc/fpc-svn/packages/base/mysql/units/powerpc-darwin
> -Fu/Users/j/fpc/fpc-svn/packages/base/sqlite/units/powerpc-darwin -FE.
> -FU/Users/j/fpc/fpc-svn/fcl/units/powerpc-darwin -dpowerpc -dRELEASE
> db.pp
> dataset.inc(468,54) Error: Incompatible type for arg no. 1: Got
> "TDateTimeAlias", expected "Int64"
> db.pp(2025) Fatal: There were 1 errors compiling module, stopping
> db.pp(2025) Error: Compilation aborted
> make[3]: *** [db.ppu] Error 1
> make[2]: *** [db_all] Error 2
> make[1]: *** [fcl_all] Error 2
> make: *** [build-stamp.powerpc-darwin] Error 2
> 
>  >>
> 
> 
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>




More information about the fpc-devel mailing list