[fpc-devel] fpc-svn177-units-Mysql broken
vsnijders at quicknet.nl
Fri Jun 3 11:39:17 CEST 2005
Jan Ruzicka wrote:
> 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/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: *** [db.ppu] Error 1
> make: *** [db_all] Error 2
> make: *** [fcl_all] Error 2
> make: *** [build-stamp.powerpc-darwin] Error 2
I don't understand the code exactly. (It seems to assume that the
DateTime field contains miliseconds since a certains startdate?) It is
about this line:
TimeStamp := MSecsToTimeStamp(Source.DateTime);
DataTime is a double. MSecsToTimeStamp expects a comp. Maybe a double
can be converted to a comp on i386, but not on powerpc.
More information about the fpc-devel